ILicenseServiceRemoveLicense Method

Removes a license.

Namespace:  Dundas.BI.Licensing
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
void RemoveLicense(
	long licenseId
)

Parameters

licenseId
Type: SystemInt64
The ID of the license to remove.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionlicenseId is less than or equal to zero.
NotFoundExceptionA license with the specified ID is not installed.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
Tip Tip
If no exception is thrown, this method triggers the LicenseChanged event hook.
See Also