This documentation is archived and is not being maintained.

Deployment Class

Speech Server 2007

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.


class Deployment
{
????????string Name;
????????Service ref Services[];
};

The Deployment class has no methods.

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.

By default, Speech Server is configured to have an initial instance of this class called Default.

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
Show: