Edit

Share via


RetentionPolicyTag Class

Definition

Contains retention policy information associated with a folder, mailbox, or item. The RetentionPolicyTag class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class RetentionPolicyTag sealed
public sealed class RetentionPolicyTag
Public NotInheritable Class RetentionPolicyTag
Inheritance
RetentionPolicyTag

Constructors

RetentionPolicyTag()

Initializes a new instance of the RetentionPolicyTag class. The RetentionPolicyTag() constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Properties

Description

Gets or sets the description of the retention policy tag. The Description property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

DisplayName

Gets or sets the descriptive name of the retention policy element. The DisplayName property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

IsArchive

Gets or sets whether the tag contains information about the archive policy for a message object. The IsArchive property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

IsVisible

Gets or sets whether the tag can be seen by users. The IsVisible property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

OptedInto

Gets or sets whether this retention policy tag was set by a user. The OptedInto property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

RetentionAction

Gets or sets the action that is taken according to the retention policy. The RetentionAction property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

RetentionId

Gets or sets the identifier for the retention policy element. The RetentionId property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

RetentionPeriod

Gets or sets the length of time before an action is taken on an item. The RetentionPeriod property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Type

Gets or sets whether the tagged object is archived or deleted. The Type property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to