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:

  • Text log files in the World Wide Web Consortium (W3C) extended file format.
  • Text log files in the Forefront TMG file format.
  • An Open Database Connectivity (ODBC)-compliant SQL Server database (deprecated in Forefront TMG).
  • A SQL Server Express log.
  • A SQL Server database using the Microsoft OLE DB provider.

C++

HRESULT put_LogType(
    FpcLogType Type
);
HRESULT get_LogType(
    FpcLogType* pType
);

Parameters

  • Type
    Value from the FpcLogType enumerated type.

  • pType
    Pointer to a variable that on return receives a value from the FpcLogType enumerated type specifying the log 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 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLog

Send comments about this topic to Microsoft

Build date: 6/30/2010