Edit

Share via


PolicyTag Class

Definition

Represents the policy tag of an item or folder. The PolicyTag class is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public ref class PolicyTag sealed : Microsoft::Exchange::WebServices::Data::RetentionTagBase
public sealed class PolicyTag : Microsoft.Exchange.WebServices.Data.RetentionTagBase
Public NotInheritable Class PolicyTag
Inherits RetentionTagBase
Inheritance

Constructors

PolicyTag()

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

PolicyTag(Boolean, Guid)

Initializes a new instance of the PolicyTag class indicating whether the associated retention policy ID was applied implicitly or explicitly. The PolicyTag(Boolean, Guid) constructor is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Properties

IsExplicit

Gets or sets whether the retention policy tag associated with an item was explicitly applied. The IsExplicit property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from RetentionTagBase)
RetentionId

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

(Inherited from RetentionTagBase)

Methods

ToString()

Returns a string that represents the current object. The ToString() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from RetentionTagBase)

Applies to