Microsoft Internet Security and Acceleration Server 2004 SDK

RuleElements Property of IFPCArray[C++]

FPCArray.RuleElements [Visual Basic]

[C++]

The RuleElements property gets an FPCRuleElements object that holds all rule elements for the array. The FPCRuleElements object has many properties that allow you to access important ISA Server settings—for example, configuration details, all scheduling information, and computers.

HRESULT get_RuleElements(
  IFPCRuleElements** ppRuleElements
);

Parameters

ppRuleElements
Address of an interface pointer that on return points to an IFPCRuleElements interface that represents the set of all rule elements for the array.

Return Values

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

Remarks

This property is read-only.

[Visual Basic]

The RuleElements property gets an FPCRuleElements object that holds all rule elements for the array. The FPCRuleElements object has many properties that allow you to access important ISA Server settings—for example, configuration details, all scheduling information, and computers.

Property RuleElements As FPCRuleElements

Property Value

Reference to the FPCRuleElements object for the array.

Remarks

This property is read-only.

Example Code

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

Dim root As New FPCLib.FPC
Dim array1 As FPCArray
Dim numSchedules As Integer
Set array1 = root.Arrays(1)
numSchedules = array1.RuleElements.Schedules.Count

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCArray