Rule.RuleType (Outlook)

Returns a constant from the OlRuleType enumeration that indicates if the rule applies to messages that are being sent or received. Possible return values are olRuleReceive - Indicates that the rule is applied to messages that are being received, olRuleSend - Indicates that the rule is being applied to messages being sent.


Dim ortRuleType As OlRuleType
ortRuleType = Session.DefaultStore.GetRules(1).RuleType