Microsoft Internet Security and Acceleration Server 2004 SDK

EnableLogging Property of IFPCPolicyRule[C++]

FPCPolicyRule.EnableLogging [Visual Basic]

[C++]

The EnableLogging property gets or sets a Boolean value that indicates whether the rule is enabled for logging.

HRESULT get_EnableLogging(
  VARIANT_BOOL* pfEnableLogging
);

HRESULT put_EnableLogging(
  VARIANT_BOOL fEnableLogging
);

Parameters

pfEnableLogging
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the rule is enabled for logging, or to VARIANT_FALSE if the rule is not enabled for logging.
fEnableLogging
Boolean value that indicates whether the rule is enabled for logging.

Return Values

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

Remarks

This property is read/write. Its default value is VARIANT_TRUE.

When a rule is enabled for logging, all client requests that match the rule are recorded in the applicable log.

[Visual Basic]

The EnableLogging property gets or sets a Boolean value that indicates whether the rule is enabled for logging.

Property EnableLogging As Boolean

Property Value

Boolean value that indicates whether the rule is enabled for logging.

Remarks

This property is read/write. Its default value is True.

When a rule is enabled for logging, all client requests that match the rule are recorded in the applicable log.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCPolicyRule