MeteringProxy GetMeterUsage Method CelloSaaS API Documentation
Returns the used amount for the given usage.

Namespace: CelloSaaS.BusinessEdition.ServiceProxies.LicenseManagement
Assembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

public static double GetMeterUsage(
	string tenantIdentifier,
	string usageName
)

Parameters

tenantIdentifier
Type: System String
usageName
Type: System String

Return Value

Type: Double
returns UsageAmount
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrows ArgumentNullException if any mandatory argument is null or empty
[!:LicenseException]Throws LicenseException if any error occurs in this method
Examples

public void GetMeterUsage()
{
    string tenantIdentifier = "B590CD25-3093-DF11-8DEB-001EC9DAB123";
    string usageCode = "CompanyUsage";
    double usageAmount = MeteringProxy.GetMeterUsage(tenantIdentifier, usageCode);
}
See Also