A Sandcastle Documented Class Library

# ILicenseService RemoveLicense Method

Removes a license.

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

    void RemoveLicense(
    	long licenseId
    )

    Sub RemoveLicense (
    	licenseId As Long
    )

    void RemoveLicense(
    	long long licenseId
    )

    abstract RemoveLicense :
            licenseId : int64 -> unit

#### Parameters

licenseId
  Type: System
  Int64
  The ID of the license to remove.

Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | licenseId is less than or equal to zero.
NotFoundException | A license with the specified ID is not installed.
NoPrivilegeException | The caller does not have system administration privileges.
InvalidSessionException | The caller context is not associated with a valid session.

Remarks

Tip
If no exception is thrown, this method triggers the LicenseChanged event hook.

See Also

#### Reference

ILicenseService Interface
Dundas.BI.Licensing Namespace