Microsoft Internet Security and Acceleration Server 2004 SDK

Enabled Property of IFPCPolicyRule[C++]

FPCPolicyRule.Enabled [Visual Basic]

[C++]

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

HRESULT get_Enabled(
  VARIANT_BOOL* pfEnabled
);

HRESULT put_Enabled(
  VARIANT_BOOL fEnabled
);

Parameters

pfEnabled
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the rule is enabled, or to VARIANT_FALSE if the rule is disabled.
fEnabled
Boolean value that indicates whether the rule is enabled.

Return Values

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

Remarks

For access rules, server publishing rules, and Web publishing rules, this property is read/write, and its default value is VARIANT_TRUE.

For system policy rules, this property is read-only. A system policy rule can be enabled or disabled through the Enabled property of its configuration group.

[Visual Basic]

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

Property Enabled As Boolean

Property Value

Boolean value that indicates whether the rule is enabled.

Remarks

For access rules, server publishing rules, and Web publishing rules, this property is read/write, and its default value is True.

For system policy rules, this property is read-only. A system policy rule can be enabled or disabled through the Enabled property of its configuration group.

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