IFPCEEArray::PolicyAssignment property
Applies to: desktop apps only
The PolicyAssignment property gets an FPCPolicyAssignment object that specifies the enterprise policy assigned to the array and the types of policy rules that may be created in the array policy. In particular, properties of the FPCPolicyAssignment object specify whether the following types of policy rules may be created in the array policy:
- Access rules that allow traffic.
- Access rules that deny traffic.
- Publishing rules.
This property is read-only.
Syntax
HRESULT get_PolicyAssignment(
IFPCEEPolicyAssignment **ppPolicyAssignment
);
' Data type: FPCPolicyAssignment
Property PolicyAssignment( _
ByVal ppPolicyAssignment As IFPCEEPolicyAssignment _
) As FPCPolicyAssignment
Property value
Reference to the FPCPolicyAssignment object for the array.
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. The enterprise policy that is assigned to the array and the types of policy rules that may be created in the array policy can be modified by calling the SetEnterprisePolicy method and the properties of the FPCPolicyAssignment object retrieved (the IFPCEEPolicyAssignment interface retrieved in C++).
A predefined enterprise policy, called Default Policy, is assigned to each array when it is created.
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