IFPCLog::LogType property
Applies to: desktop apps only
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.
This property is read/write.
Syntax
HRESULT put_LogType(
FpcLogType Type
);
HRESULT get_LogType(
FpcLogType *pType
);
' Data type: FpcLogType
Property LogType( _
ByVal Type As FpcLogType, _
ByVal pType As FpcLogType _
) As FpcLogType
Property value
Value from the FpcLogType enumerated type.
Error codes
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.
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
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
Build date: 7/12/2010