LogType Property of the IFPCLog Interface

The LogType property gets or sets a value from the FpcLogType enumerated type that specifies the type of log. The possible types are:

[C++]
HRESULT put_LogType(
	FpcLogType Type
);
HRESULT get_LogType(
	FpcLogType* pType
);

Parameters

pType

Pointer to a variable that on return receives a value from the FpcLogType enumerated type specifying the log type.

Type

Value from the FpcLogType enumerated type.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code. In Forefront TMG, an attempt to set this property to fpcODBC always returns E_FPC_DEPRECATED.

[Visual Basic]
Property LogType As FpcLogType

Property Value

Value from the FpcLogType enumerated type.

Remarks

This property is read/write. Its default value is fpcFile_EXT_Format, which indicates that the information is logged to text log files in the W3C extended file format.

In Visual Basic, in Forefront TMG, an attempt to set this property to fpcODBC raises an E_FPC_DEPRECATED error, which can be intercepted by using an error handler.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLog


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.