SPInformationRightsManagementSettings.DocumentAccessExpireDays property

Gets or sets the number of days after which the downloaded document will expire.

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

Syntax

'Declaration
Public Property DocumentAccessExpireDays As Integer
    Get
    Set
'Usage
Dim instance As SPInformationRightsManagementSettings
Dim value As Integer

value = instance.DocumentAccessExpireDays

instance.DocumentAccessExpireDays = value
public int DocumentAccessExpireDays { get; set; }

Property value

Type: System.Int32
The number of document access expire days between 1 and 365 if Information Rights Management (IRM) and document access expire are both enabled, otherwise the default value is returned.

See also

Reference

SPInformationRightsManagementSettings class

SPInformationRightsManagementSettings members

Microsoft.SharePoint namespace