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.
|
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_