SPInformationRightsManagementSettings.LicenseCacheExpireDays property

SharePoint 2013

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

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

public int LicenseCacheExpireDays { get; set; }

Property value

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