_Store.GetRules Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Microsoft::Office::Interop::Outlook::Rules ^ GetRules();
public Microsoft.Office.Interop.Outlook.Rules GetRules ();
Public Function GetRules () As Rules
Returns
A Rules collection object that represents the set of Rules defined for the current session.
Remarks
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 ExecutionOrder with ExecutionOrder equal 1 being the first Rule in the collection and ExecutionOrder equal Count being the last Rule in the collection.