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.
HRESULT get_RuleElements( IFPCRuleElements** ppRuleElements );
Address of an interface pointer that on return points to an IFPCRuleElements interface that represents collections of rule elements for the array.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property RuleElements As FPCRuleElements
Reference to the FPCRuleElements object that provides access to collections of rule elements for the array.
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
This property is read-only.
|Client||Requires Windows Vista or Windows XP.|
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Msfpccom.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.