Microsoft Internet Security and Acceleration Server 2000

FPCArray.PolicyElements Property

Gets an object that holds all policy configuration for this array. The FPCPolicyElements object itself has many properties that allow you to access important ISA settings — for example, configuration details, all scheduling information, destination sets, client address sets, protocol definitions, all filtering information, and all bandwidth class information. All these settings can be programmatically accessed through the PolicyElements property.

VBScript Syntax[VBScript]

[ oFPCPolicyElements = ] FPCArray.PolicyElements

C++ Syntax[C++]

HRESULT get_PolicyElements(
  IFPCPolicyElements **poFPCPolicyElements
);

Parameters

oFPCPolicyElements
Reference to an FPCPolicyElements object.

This property is read-only.

Example

The following Visual Basic code example uses the PolicyElements property to list the number of schedules within an array:

Dim objFPC As New FPCLib.FPC
Dim objFPCArray As FPCArray
Dim NumSchedules As Integer
Set objFPCArray = objFPC.Arrays(1)
NumSchedules = objFPCArray.PolicyElements.Schedules.Count

Applies To

FPCArray