Share via


InformationRightsManagementSettings.DocumentAccessExpireDays property

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

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

Syntax

'Declaration
Public Property DocumentAccessExpireDays As Integer
    Get
    Set
'Usage
Dim instance As InformationRightsManagementSettings
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 return the default value.

See also

Reference

InformationRightsManagementSettings class

InformationRightsManagementSettings members

Microsoft.SharePoint.Client namespace