Type

Gets the license type for the license object.

Syntax

LicenseType Type {get;}

Property value

The license type.

Possible values:

public enum LicenseType  
{  
    // Not defined
       NotDefined = -1,  
    // UNIX Workstation license
       Workstation = 110,  
    // UNIX Server license 
       Server = 111,  
    // Windows Server license
       WindowsServer = 112,  
    // Windows Workstation license
       WindowsWorkstation = 113,  
    // Application license for Tomcat 
       Tomcat = 210,  
    // Application license for JBoss 
       JBoss = 211,  
    // Application license for WebLogic 
       WebLogic = 212,  
    // Application license for WebSphere 
       WebSphere = 213,  
    // Application license for Apache 
       Apache = 214,  
    // Application license for DB2 
       DB2 = 215,  
    // Install evaluation license 
       InstallEval = 310,  
    // Specific date evaluation license
       SpecificEval = 311  
}

Discussion

The license type indicates whether a specific license is intended for workstation computers or application servers.

Example

The following code sample illustrates using Type 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  
...