Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCLogSummaryConfiguration::SetDirectory[C++]

FPCLogSummaryConfiguration.SetDirectory [Visual Basic]

[C++]

The SetDirectory method sets the DirectoryName and DirectoryType properties. These properties specify the path to the directory where the daily and monthly log summaries are stored, and whether the directory name provided is a full path or a path relative to the ISA Server installation directory.

HRESULT SetDirectory(
  FpcLogFileDirectoryType type,
  BSTR dirName
);

Parameters

type
[in] Value from the FpcLogFileDirectoryType enumerated type that specifies whether the directory name provided is a full path or a path relative to the ISA Server installation directory.
dirName
[in] String value that provides the name of the directory where the daily and monthly log summaries will be stored.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]

The SetDirectory method sets the DirectoryName and DirectoryType properties. These properties specify the path to the directory where the daily and monthly log summaries are stored, and whether the directory name provided is a full path or a path relative to the ISA Server installation directory.

Sub SetDirectory( _
  ByVal type As FpcLogFileDirectoryType, _
  ByVal dirName As String _
)

Parameters

type
[in] Value from the FpcLogFileDirectoryType enumerated type that specifies whether the directory name provided is a full path or a path relative to the ISA Server installation directory.
dirName
[in] String value that provides the name of the directory where the daily and monthly log summaries will be stored.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCLogSummaryConfiguration