EngineName Property

EngineName Property

Gets and sets the name of the recognizer or prompt voice to be used by the engines described by this configuration.

obj.EngineName = string

Part

Description

obj

An instance of the EngineConfiguration class.

string

A string that specifies the recognizer or prompt voice name. This string must exactly match the name of an installed recognition engine or prompt voice. If it does not, engines are not created for that configuration, and a warning is logged. The engine or prompt voice name is specified by the vendor.
The Speech API (SAPI) names of the engines supported for the 2004 are:

  • Microsoft English (U.S. Telephony) v7.0 Server

  • Microsoft English (U.S. Wideband) v7.0 Server

  • SpeechWorks SAPI OpenSpeech Recognizer


The SAPI names of the prompt voices supported for the 2004 are:

  • Speechify Jill

  • Speechify Tom

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

"Microsoft English (U.S. Telephony) v7.0 Server"

Default value for this property.

Remarks

This property is exposed in the Microsoft Speech Server Management Console 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 property value.
WScript.Echo eng.EngineName

' Set the value.
eng.EngineName = "Microsoft English (U.S. Telephony) v7.0 Server"

' Update the class instance in WMI.
eng.Put_

Member Of

EngineConfiguration class