Microsoft Internet Security and Acceleration Server 2004 SDK

AppliesAlways Property of IFPCPolicyRule[C++]

FPCPolicyRule.AppliesAlways [Visual Basic]

[C++]

The AppliesAlways property gets a Boolean value that indicates whether the rule applies at all times.

HRESULT get_AppliesAlways(
  VARIANT_BOOL* pfApplies
);

Parameters

pfApplies
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the rule applies at all times, or to VARIANT_FALSE if the rule applies only at certain times.

Return Values

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. Its default value is VARIANT_TRUE. Choosing a schedule by calling the SetSchedule method will set it to VARIANT_FALSE. It can be set to VARIANT_TRUE by calling the SetAppliesAlways method.

[Visual Basic]

The AppliesAlways property gets a Boolean value that indicates whether the rule applies at all times.

Property AppliesAlways As Boolean

Property Value

Boolean value that indicates whether the rule applies at all times.

Remarks

This property is read-only. Its default value is True. Choosing a schedule by calling the SetSchedule method will set it to False. It can be set to True by calling the SetAppliesAlways method.

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