Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Store.GetRules Method

Office 2007
Returns a Rules collection object that contains the Rule objects defined for the current session.

Version Information
 Version Added:  Outlook 2007



expression   A variable that represents a Store object.

Return Value
A Rules collection object that represents the set of Rules defined for the current session.


Calling GetRules can be an expensive operation in terms of performance on slow connections to an Exchange server.

The order of the Rule objects in the collection returned from GetRules follows that of Rule.ExecutionOrder with ExecutionOrder equal 1 being the first Rule in the collection and ExecutionOrder equal Rules.Count being the last Rule in the collection.

Community Additions

© 2015 Microsoft