Share via


IFPCLog::LogFileDirectory property

Applies to: desktop apps only

The LogFileDirectory property gets or sets the full path of the directory containing the text log files.

This property is read/write.

Syntax

HRESULT put_LogFileDirectory(
  BSTR bstrDirectory
);

HRESULT get_LogFileDirectory(
  BSTR *pbstrDirectory
);
' Data type: String

Property LogFileDirectory( _
  ByVal bstrDirectory As BSTR, _
  ByVal pbstrDirectory As BSTR _
) As String

Property value

String that specifies the full path of the directory containing the text log files.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is an empty string.

Note that this property is used only if the LogFileDirectoryType property is set to the fpcFullPath value from the FpcLogFileDirectoryType enumerated type. Otherwise, the files are stored in the ServerLogs directory under the Forefront TMG installation directory.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCLog

 

 

Build date: 7/12/2010