Expiration members

Represents an expiration set on an item.

The Expiration type exposes the following members.

Constructors

  Name Description
Public method Expiration Initializes a new instance of the Expiration class.

Top

Properties

  Name Description
Public propertyStatic member ExpirationDateFieldInternalName This member is reserved for internal use and is not intended to be used directly from your code.
Public propertyStatic member ExpirationDateSavedFieldInternalName This member is reserved for internal use and is not intended to be used directly from your code.
Public propertyStatic member PolicyId Gets the unique identifier of the policy.
Public propertyStatic member ResourceTypeAction This member is reserved for internal use and is not intended to be used directly from your code.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetExpirationDateForItem Gets the next expiration date for the specified item, and whether the current stage recurs.
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetItemRetentionStage Gets the next retention stage ID of the specified item.
Public methodStatic member GetManifest This member is reserved for internal use and is not intended to be used directly from your code.
Public methodStatic member GetRetentionPolicyForItem Gets the custom data retention XML.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnCustomDataChange This member is reserved for internal use and is not intended to be used directly from your code.
Public method OnGlobalCustomDataChange This member is reserved for internal use and is not intended to be used directly from your code.
Public method ProcessListItem This member is reserved for internal use and is not intended to be used directly from your code.
Public method ProcessListItemOnRemove This member is reserved for internal use and is not intended to be used directly from your code.
Public method Register This member is reserved for internal use and is not intended to be used directly from your code.
Public methodStatic member SetExpirationDateForItem This member is reserved for internal use and is not intended to be used directly from your code.
Public method ToString (Inherited from Object.)
Public method UnRegister This member is reserved for internal use and is not intended to be used directly from your code.

Top

Fields

  Name Description
Public fieldStatic member ExpirationAction_DefaultAction Obsolete. Represents the Action ID for the Move to Recycle bin expiration action.
Public fieldStatic member ExpirationAction_DeleteAction Represents the Action ID for Delete expiration action.
Public fieldStatic member ExpirationAction_DeletePreviousDrafts Represents the Action ID for the Delete previous drafts action.
Public fieldStatic member ExpirationAction_DeletePreviousVersions Represents the Action ID for the Delete all previous versions action.
Public fieldStatic member ExpirationAction_DeleteProjectAction The Action ID for the "Delete a Site" expiration action.
Public fieldStatic member ExpirationAction_EmailNotificationOnProjectDeletionAction The Action ID for the "Email notification on Site deletion" expiration action.
Public fieldStatic member ExpirationAction_RecordAction Represents the Action ID for Make a record action.
Public fieldStatic member ExpirationAction_RecycleAction The Action Id for the "Move to Recycle bin" expiration action.
Public fieldStatic member ExpirationAction_SkipAction Represents the Action ID for the Skip expiration action.
Public fieldStatic member ExpirationAction_SubmitFileCopyAction Represents the Action ID for the Copy to another location expiration action.
Public fieldStatic member ExpirationAction_SubmitFileLinkAction Represents the Action ID for the Move to another location and leave a link expiration action.
Public fieldStatic member ExpirationAction_SubmitFileMoveAction Represents the Action ID for the Move to another location expiration action.
Public fieldStatic member ExpirationType_Workflow The “Workflow” action type.

Top

See also

Reference

Expiration class

Microsoft.Office.RecordsManagement.PolicyFeatures namespace