PolicyAssignment Property of the IFPCEEArray Interface

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.

C++

HRESULT get_PolicyAssignment(
    IFPCEEPolicyAssignment** ppPolicyAssignment
);

Parameters

  • ppPolicyAssignment
    Address of an interface pointer that on return points to the IFPCEEPolicyAssignment interface that specifies the enterprise policy assigned to the array and the types of policy rules that may be created in the array policy.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property PolicyAssignment As FPCPolicyAssignment

Property Value

Reference to the FPCPolicyAssignment object for the array.

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

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

FPCArray

Send comments about this topic to Microsoft

Build date: 6/30/2010