IFPCPolicyRule::AppliesAlways property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_AppliesAlways(
  VARIANT_BOOL *pfApplies
);
' Data type: Boolean

Property AppliesAlways( _
  ByVal pfApplies As VARIANT_BOOL _
) As Boolean

Property value

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

Error codes

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 True (VARIANT_TRUE in C++). Choosing a schedule by calling the SetSchedule method will set it to False (VARIANT_FALSE in C++). It can be set to True (VARIANT_TRUE in C++) by calling the SetAppliesAlways method.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCPolicyRule

 

 

Build date: 7/12/2010