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 of 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 position of each field are provided in Log Fields.

[C++]
HRESULT put_LogFieldSelection(
	long lSelection
);
HRESULT get_LogFieldSelection(
	long* plSelection
);

Parameters

plSelection

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

lSelection

Bitmask that specifies the 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. By default, all the bits in the bitmask are set to 1 (all the log fields are selected for logging).

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.