EngineAttributes Property
EngineAttributes Property
Gets and sets a string that Telephony Application Services uses to select the recognition engine that Speech Engine Services (SES) uses.
obj.EngineAttributes = string
Part |
Description |
---|---|
obj |
An instance of the TAS class. |
string |
A collection of name-value pairs, separated by semicolons. The default value for this string is "AcousticSource=Telephony". Additionally, a recognition engine name may be specified as part of this string; for example, "AcousticSource=Telephony;Microsoft English (U.S. Telephony) v7.0 Server". |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Registry |
True |
If True, this property value is read from the Registry. |
Restart |
False |
If False, changes to this property take effect without requiring the service to restart. |
DefaultValue |
"AcousticSource=Telephony" |
Default value for this property. |
Remarks
This property is not exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC). Values that do not appear in the MMC are generally more advanced configuration options, changeable only through VBScript. Changes to these settings should be tested in a safe environment before implementing them on live production servers. Changing these settings can cause extensive changes to the entire system.
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 the TAS instance. Set tel = namespace.Get("TAS=@") ' Display the current value. WScript.Echo tel.EngineAttributes ' Set the property value. tel.EngineAttributes = "AcousticSource=Telephony" ' Update the class instance in WMI. tel.Put_