ALM Site Administratation Client Type Library
GetLicenseConsumption Method
DomainName
If the DomainName argument is empty, usage is return for the entire site. Otherwise, returns empty response. License per domain is not supported.
Start
yyyy-mm-dd, for example 2010-05-26. The beginning of the period for which to check. If NULL, checks from date of first use of license.
End
yyyy-mm-dd. The end of the period for which to check. If NULL, check until today.

Description

Gets PPU licenses that were used in the specified domain during the specified time period.

Syntax

Visual Basic
Public Function GetLicenseConsumption( _
   ByVal DomainName As String, _
   ByVal Start As String, _
   ByVal End As String _
) As String

Parameters

DomainName
If the DomainName argument is empty, usage is return for the entire site. Otherwise, returns empty response. License per domain is not supported.
Start
yyyy-mm-dd, for example 2010-05-26. The beginning of the period for which to check. If NULL, checks from date of first use of license.
End
yyyy-mm-dd. The end of the period for which to check. If NULL, check until today.

Return Type

On success, returns an XML string containing the licence consumption data.

Remarks

For meaning of LICENSE_TYPE values, see GetLicenseTypesList.

See Also

Send documentation feedback to HP.