Share via


InformationRightsManagementSettings.LicenseCacheExpireDays property

Gets or sets the number of days that the application that opens the document caches the IRM license. When these elapse, the application will connect to the IRM server to validate the license.

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

Syntax

'Declaration
Public Property LicenseCacheExpireDays As Integer
    Get
    Set
'Usage
Dim instance As InformationRightsManagementSettings
Dim value As Integer

value = instance.LicenseCacheExpireDays

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

Property value

Type: System.Int32
The number of days of the license cache between 0 and 2555 if IRM and license cache are both enabled, otherwise return the default value.

See also

Reference

InformationRightsManagementSettings class

InformationRightsManagementSettings members

Microsoft.SharePoint.Client namespace