SPInformationRightsManagementSettings.LicenseCacheExpireDays property
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)
Syntax
'Declaration
Public Property LicenseCacheExpireDays As Integer
Get
Set
'Usage
Dim instance As SPInformationRightsManagementSettings
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 license cache between 0 and 2555 if IRM and license cache are both enabled, otherwise the default value is returned.
See also
Reference
SPInformationRightsManagementSettings class