LogFieldSelection Property of the IFPCLog Interface

The LogFieldSelection property gets or sets a bitmask in which each bit specifies whether a particular log field is selected for logging. The first bit (0) refers to the first field defined for the log object, the second bit refers to the second field, and so on. Tables of the fields that can be included in Forefront TMG logs and the bit number of each Firewall service and Web proxy log field for are provided in Log Fields.

C++

HRESULT put_LogFieldSelection(
    long lSelection
);
HRESULT get_LogFieldSelection(
    long* plSelection
);

Parameters

  • lSelection
    Bitmask that specifies the fields that are selected for logging.

  • plSelection
    Pointer to a 32-bit integer that is set on return to a bitmask specifying the log fields that are selected for logging.

Return Value

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

Visual Basic

Property LogFieldSelection As Long

Property Value

Bitmask that specifies the log fields that are selected for logging.

Remarks

This property is read/write.

This property is superseded by the LogFieldSelectionString property.

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