Class Limitations
Limitations that can apply at an overall license level or at the level of individual features in a license
Namespace: Microsoft.Licensing.LicenseIssue
Assembly: Slps.Domain.Interfaces.dll
Constructors
Limitations()
Declaration
public Limitations()
Fields
ExpirationDate
DateTime.MaxValue means no ExpirationDate is set. Must be DateTime.MaxValue if ExpirationPeriod is not TimeSpan.FromDays( -1 ).
Declaration
public DateTime ExpirationDate
Field Value
Type | Description |
---|---|
System.DateTime |
ExpirationPeriod
TimeSpan.FromDays( -1 ) means no ExpirationPeriod is set. Must be TimeSpan.FromDays( -1 ) if ExpirationDate is not DateTime.MaxValue.
Declaration
public TimeSpan ExpirationPeriod
Field Value
Type | Description |
---|---|
System.TimeSpan |
GatherUsageCount
Indicates whether Usage should be captured for a given feature (including Execute at application level).
Declaration
public bool GatherUsageCount
Field Value
Type | Description |
---|---|
System.Boolean |
GracePeriod
Can be TimeSpan.Zero or greater.
Declaration
public TimeSpan GracePeriod
Field Value
Type | Description |
---|---|
System.TimeSpan |
MaxConcurrentUsage
Limit for max concurrent usage of the application or feature.
Declaration
public int ? MaxConcurrentUsage
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MaxTotalUsage
Limit for max total usage of the application or feature.
Declaration
public int ? MaxTotalUsage
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
NotSetExiprationDate
Declaration
public static DateTime NotSetExiprationDate
Field Value
Type | Description |
---|---|
System.DateTime |
Properties
StartDate
Used for setting the start date of an end license file Can be used to synchronise the start date and by extension the renewal date for subscription licenses. Cannot be later than ExpirationDate.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |