IFPCEEPolicy::PolicyRules property

Applies to: desktop apps only

The PolicyRules property gets an FPCPolicyRules collection that contains all the policy rules in the enterprise policy.

This property is read-only.

Syntax


HRESULT get_PolicyRules(
  IFPCPolicyRules **ppPolicyRules
);

Property value

Reference to an FPCPolicyRules collection that contains all the policy rules in the enterprise policy.

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. 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

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

FPCPolicy

 

 

Build date: 7/12/2010

Show: