LicensesCollection
The LicensesCollection class is used to manage all of the licenses in all of the Licenses parent containers defined for a forest.
Syntax
public interface ILicensesCollection
Discussion
The LicensesCollection object is retrieved using the Cims.LoadLicenses method.
Methods
The LicensesCollection class provides the following methods:
This method | Does this |
Returns the specific parent container object from the collection of all parent license containers in the forest. |
|
Returns an enumeration of Licenses objects. |
|
Returns the total number of licenses of the specified license type that have been installed. |
|
Returns the total number of licenses of the specified license type that are currently being used. |
Properties
The LicensesCollection class provides the following properties:
This property | Does this |
Gets the number of license container objects stored in the Active Directory forest. |
|
Indicates whether there are any evaluation licenses in the forest. |
|
Indicates whether any computer license is installed. |
|
Gets the parent license container object by index number. |