GetLicensedCount

Returns the total number of licenses of the specified license type that have been installed in an Active Directory forest.

Syntax

int GetLicensedCount(LicenseType type)

Parameter

Specify the following parameter when using this method:

Parameter Description
type The license type for which you want to get a complete count.

See Type for possible values.

Return value

Returns a value that represents the number of licenses installed of the specified type.