Поделиться через


Conversation.ClearAlwaysAssignCategories Method (Outlook)

Removes all categories from all items in the conversation and stops the action of always assigning categories to items in the conversation.

Version Information

Version Added: Outlook 2010

Syntax

expression .ClearAlwaysAssignCategories(Store)

expression A variable that represents a Conversation object.

Parameters

Name

Required/Optional

Data Type

Description

Store

Required

Store

Specifies the store from which categories of items that belong to the conversation should be removed.

Remarks

If the store specified by the Store parameter represents a non-delivery store such as an archive .pst store, the category removal action will apply to items of the conversation in the default delivery store.

After you apply the ClearAlwaysAssignCategories method on a conversation, the GetAlwaysAssignCategories method will return Null (Nothing in Visual Basic) for that conversation. Categories on existing items are cleared, and no categories are assigned to new items in the conversation.

If the SetAlwaysAssignCategories method has not been applied to a conversation, ClearAlwaysAssignCategories does not remove any categories.

See Also

Concepts

Conversation Object

Conversation Object Members