Microsoft Internet Security and Acceleration Server 2004 SDK

Enabled Property of IFPCRoutingRule[C++]

FPCRoutingRule.Enabled [Visual Basic]

[C++]

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

Note  The default routing rule cannot be disabled.

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

This property is read/write.

[Visual Basic]

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

Note  The default routing rule cannot be disabled.

Property Enabled As Boolean

Property Value

Boolean value that indicates whether the rule is enabled.

Remarks

This property is read/write.

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

FPCRoutingRule