Deployment Class
Speech Server 2007
The Deployment class contains a list of the manageable server instances in the deployment.
The following syntax is simplified from Managed Object Format (MOF) code.
The Deployment class has the following properties.
Name
Data type: string
Specifies the unique name of the deployment.
This property is exposed in the Speech Server Administrator console as the name of the management group.
Services
Data type: Service
An array of object references to instances of Service Class. This property represents a list of all manageable services in the deployment.
This property is not exposed in the Speech Server Administrator console.
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & _
"\root\MSSV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM DEPLOYMENT",,48)
For Each objItem in colItems
Wscript.Echo "-----------------------------------"
Wscript.Echo "DEPLOYMENT Name:", objItem.Name
Wscript.Echo "-----------------------------------"
If IsArray(objItem.Services) Then
For Each service In ObjItem.Services
Wscript.Echo "Service:", service
Next
End If
Next