Class SensitivityRuleCondition (Outlook VBA)
To use a SensitivityRuleCondition class variable it first needs to be instantiated, for example
Dim src as SensitivityRuleCondition
Set src = Session.DefaultStore.GetRules(1).Exceptions
Class
Here you can find possible values for
Dim oocsClass As OlObjectClass
oocsClass = Session.DefaultStore.GetRules(1).Exceptions.Sensitivity.Class
ConditionType
Here you can find possible values for
Dim orcConditionType As OlRuleConditionType
orcConditionType = Session.DefaultStore.GetRules(1).Exceptions.Sensitivity.ConditionType
Enabled
Session.DefaultStore.GetRules(1).Exceptions.Sensitivity.Enabled = True
Sensitivity
Possible return values are olConfidential - Confidential, olNormal - Normal sensitivity, olPersonal - Personal, olPrivate - Private.
Session.DefaultStore.GetRules(1).Exceptions.Sensitivity.Sensitivity = olConfidential
Session