Type Property (EngineConfiguration class)
Type Property (EngineConfiguration class)
Gets and sets a short string that identifies the purpose of this configuration.
obj.Type = string
Part |
Description |
---|---|
obj |
An instance of the EngineConfiguration class. |
string |
A string that provides a generic description of the kind of resource required, for example TelephonyRecognizer. This name must match the type attribute in the application manifest. By default this will be one of the names in the following list.
|
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 value for this property. |
Remarks
This property is exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC).
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.Type ' Set the value. eng.Type = "" ' Update the class instance in WMI. eng.Put_