Поделиться через


Deployment Class

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.

Syntax

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

Methods

The Deployment class has no methods.

Properties

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.

Remarks

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

Windows Management Instrumentation (WMI) Script Example

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

See Also

Other Resources

Speech Server Administration Through WMI
Group Administration