Count
Determines the total number of licenses of a particular type.
Syntax
int Count {get;}
Property value
The number of licenses provided in the License object.
Example
The following code sample illustrates using Count in a script:
... set objCollection cims.LoadLicenses for each objLics in objCollection for each objLic in objLics wScript.Echo "License Type:", objLic.Type wScript.Echo "Seats:", objLic.Count wScript.Echo "Used:", objLic.usedCount next wScript.Echo "" next ...