SPInformationRightsManagementSettings.DocumentLibraryProtectionExpireDate property

Gets or sets the date after which the Information Rights Management (IRM) protection of this document library will stop.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property DocumentLibraryProtectionExpireDate As DateTime
    Get
    Set
'Usage
Dim instance As SPInformationRightsManagementSettings
Dim value As DateTime

value = instance.DocumentLibraryProtectionExpireDate

instance.DocumentLibraryProtectionExpireDate = value
public DateTime DocumentLibraryProtectionExpireDate { get; set; }

Property value

Type: System.DateTime
A DateTime object that specifies when the protection of this document library will expire. If the expire date value of the document library is empty or not valid, the default expire date is returned.

See also

Reference

SPInformationRightsManagementSettings class

SPInformationRightsManagementSettings members

Microsoft.SharePoint namespace