Export (0) Print
Expand All

IFPCArray::RuleElements property

Applies to: desktop apps 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 Forefront TMG and its add-ins within the array.

This property is read-only.

Syntax


HRESULT get_RuleElements(
  IFPCRuleElements **ppRuleElements
);

Property value

Reference to the FPCRuleElements object that provides access to collections of rule elements 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.

Examples

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

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

FPCArray

 

 

Build date: 7/12/2010

Community Additions

ADD
Show:
© 2015 Microsoft