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.

HRESULT put_LogFieldSelection(
	long lSelection
HRESULT get_LogFieldSelection(
	long* plSelection



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


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.


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).


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

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.