PolicyRules Property of the IFPCEEPolicy Interface
The PolicyRules property gets an FPCPolicyRules collection that contains all the policy rules in the enterprise policy.
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 in the enterprise policy.
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 in the enterprise policy.
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++). In an enterprise policy, the FPCPolicyRule objects included in this collection can represent only access rules and a placeholder that specifies the ordinal position (Order) of the set of array policy rules within the set of enterprise policy rules when the enterprise policy is applied to an array. Server publishing rules and Web publishing rules cannot be created on the enterprise level.
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