IFPCPolicyRule::Enabled property
Applies to: desktop apps only
The Enabled property gets or sets a Boolean value that indicates whether the rule is enabled.
This property is read/write.
Syntax
HRESULT put_Enabled(
VARIANT_BOOL fEnabled
);
HRESULT get_Enabled(
VARIANT_BOOL *pfEnabled
);
' Data type: Boolean
Property Enabled( _
ByVal fEnabled As VARIANT_BOOL, _
ByVal pfEnabled As VARIANT_BOOL _
) As Boolean
Property value
Boolean value that indicates whether the rule is enabled.
Error codes
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Remarks
For access rules, server publishing rules, and Web publishing rules, this property is read/write, and its default value is True (VARIANT_TRUE in C++).
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
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
Build date: 7/12/2010