Applications Property

Applications Property

Gets and sets the list of applications served by the engines described in this configuration.

obj.Applications = string

Part

Description

obj

An instance of the EngineConfiguration class.

string

A string that specifies the name or names of applications serviced by this engine configuration. Application names referenced here must match an <application name> element in the application manifest file. This file specifies what resources to load into the SES engines servicing a particular application.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

False

Changes to this property take effect without requiring the service to restart.

DefaultValue

";Default;"

Default value for this property.

Remarks

Changing this value would be appropriate, for example, where Speech Engine Services (SES) is installed on a single machine serving multiple applications. If this value is not set, the same resources will be preloaded for all engine configurations, which may result in lower scalability.

This property is exposed in the Microsoft Speech Server snap-in.

Windows Management Instrumentation (WMI) Script Example

myComputer = "localhost"

' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")

' Get an instance of the EngineConfiguration class.
Set eng = namespace.Get("EngineConfiguration.ConfigName='DefaultVoice'")

' Display the current value.
WScript.Echo eng.Applications

' Set the value.
eng.Applications = ";Default;"

' Update the class instance in WMI.
eng.Put_

Member Of

EngineConfiguration class