PolicyRules Property of the IFPCArrayPolicy Interface
The PolicyRules property gets an FPCPolicyRules collection that contains all the policy rules on the array.
C++
HRESULT get_PolicyRules(
IFPCPolicyRules** ppPolicyRules
);
Parameters
- ppPolicyRules
Address of an interface pointer that on return points to an IFPCPolicyRules interface that represents the collection of all the policy rules on the array.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property PolicyRules As FPCPolicyRules
Property Value
Reference to an FPCPolicyRules collection that contains all the policy rules on the array.
Remarks
This property is read-only. Policy rules can be added or removed, and their order of application can be modified by calling the methods of the FPCPolicyRules collection retrieved (the IFPCPolicyRules interface retrieved in C++).
When an enterprise with central array management is deployed, the following restrictions apply.
- Access rules that allow traffic may not be created in the array policy if the enterprise administrator sets the EnableAllowRules property of the FPCPolicyAssignment object (IFPCPolicyAssignment interface in C++) for the array to FALSE (VARIANT_FALSE in C++).
- Access rules that deny traffic may not be created in the array policy if the enterprise administrator sets the EnableDenyRules property of the FPCPolicyAssignment object (IFPCPolicyAssignment interface in C++) for the array to FALSE (VARIANT_FALSE in C++).
- Server publishing rules and Web publishing rules may not be created in the array policy if the enterprise administrator sets the EnablePublishingRules property of the FPCPolicyAssignment object (IFPCPolicyAssignment interface in C++) for the array to FALSE (VARIANT_FALSE in C++).
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010