A Sandcastle Documented Class Library

# License2 Class

Represents a license (2nd generation) to use the software, which includes the mode of operation, constraints, and additional enabled features.
Inheritance Hierarchy
System
Object
LicenseObject
Dundas.BI.Licensing
LicenseBase
Dundas.BI.Licensing
License2

Namespace: Dundas.BI.Licensing
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class License2 : LicenseBase

    Public Class License2
    	Inherits LicenseBase

    public ref class License2 : public LicenseBase

    type License2 =
        class
            inherit LicenseBase
        end

The License2 type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| DeploymentId | Gets the ID of the deployment associated with the license.
| Elements | Gets the collection of elements in the license.
| InstanceDescription | Gets a description of the instance (e.g. Production, UAT, Staging).
| InstanceId | Gets the ID of the instance associated with the license.
| IsValid | Gets a value indicating whether the license is valid. (Overrides LicenseBase IsValid.)
| LeaseAcquired | Gets the date (in UTC) when the lease associated with the license was acquired.
| LeaseValidUntil | Gets the date (in UTC) when the lease associated with the license will expire.
| LicenseVersion | Gets the license version. (Inherited from LicenseBase.)
| Notes | Gets any notes associated with the license.
| ReplacedLicenseIds | Gets a collection containing IDs of any licenses which are replaced by this license. (Inherited from LicenseBase.)
| Status | Gets the status of the license. (Inherited from LicenseBase.)

Top
See Also

#### Reference

Dundas.BI.Licensing Namespace