Edit

Share via


RuleActions.AssignCategories Property

Definition

Gets the categories that are stamped on e-mail messages.

public:
 property Microsoft::Exchange::WebServices::Data::StringList ^ AssignCategories { Microsoft::Exchange::WebServices::Data::StringList ^ get(); };
public Microsoft.Exchange.WebServices.Data.StringList AssignCategories { get; }
Public ReadOnly Property AssignCategories As StringList

Property Value

The categories that are stamped on e-mail messages.

Remarks

The AssignCategories property represents an action that assigns categories to a message.

The returned StringList object contains a comma separated list of each AssignCategories string that was added when the rule was created or updated.

The AssignCategories property is returned with the RuleActions class regardless of whether the rule that is associated with the RuleActions class has defined such a rule action. If the rule has defined and enabled such a rule action, this property will be non-null.

Applies to