RuleElements Property of IFPCArray[C++] | FPCArray.RuleElements [Visual Basic]

Internet Security and Acceleration Server 2004/2006 SDK

The RuleElements property gets an FPCRuleElements object that provides access to collections of rule elements for the array. These rule elements include content type sets, schedules, protocol definitions, Web listeners, authentication schemes, Radius servers, user sets, and sets of various types of network entities and are used to define policy rules in the array policy. They also include definitions of alert-triggering events that can be signaled by ISA Server and its add-ins within the array.


HRESULT get_RuleElements(
  IFPCRuleElements** ppRuleElements );

Parameters

ppRuleElements
Address of an interface pointer that on return points to an IFPCRuleElements interface that represents collections of 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.

The RuleElements property gets an FPCRuleElements object that provides access to collections of rule elements for the array. These rule elements include content type sets, schedules, protocol definitions, Web listeners, authentication schemes, Radius servers, user sets, and sets of various types of network entities and are used to define policy rules in the array policy. They also include definitions of alert-triggering events that can be signaled by ISA Server and its add-ins within the array.


Property RuleElements As FPCRuleElements

Property Value

Reference to the FPCRuleElements object that provides access to collections of rule elements 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 defined in an array:

 Dim root As New FPCLib.FPC
Dim isaArray As FPCArray
Dim numSchedules As Integer
Set isaArray = root.GetContainingArray()
numSchedules = isaArray.RuleElements.Schedules.Count

Requirements

Client Requires Windows XP.
Server Requires Windows Server 2003. Requires Windows Server 2003 or Windows 2000 for ISA Server 2004 Standard Edition.
Version Requires Internet Security and Acceleration (ISA) Server 2006 or ISA Server 2004.
IDL

Declared in Msfpccom.idl.

DLL Requires Msfpccom.dll.

See Also

FPCArray

Show: