Platform SDK: Exchange Server

IRules Interface

IID
92C2FEE4-00A6-11D2-BC07-00C04F8C92F7
Extends
IDispatch
Type Library
Microsoft Exchange 5.5 Rules Type Library 1.0 (Rule.dll)

Properties

Name Type Description
Count [Visual Basic] Long

[C++] long

Returns the number of Rule objects in the collection.
Folder [Visual Basic] Object

[C++] IDispatch*

Contains the CDO.Folder object for which rules are being managed.
_NewEnum [Visual Basic] hidden

[C++] IUnknown*

Returns an IEnumVariant interface used to enumerate the collection. This is automatic in Visual Basic within For Each In constructs.

Methods

Name Description
Add Inserts a new rule before the rule at the specified position
Clear Removes all of the rules for all of the providers from the collection
Delete Deletes the rule in the specified position.
Item Accesses the rule at the specified position.
Update Updates the information store, making any changes to the collection permanent.
UpdateIndices Updates the indices of the rules in the collection.