ConfigName Property

ConfigName Property

Gets and sets a unique name identifying this configuration.

obj.ConfigName = string

Part

Description

obj

An instance of the EngineConfiguration class.

string

A string that specifies the unique name of the configuration.

Qualifier

Qualifier

Description

Key

A string that uniquely identifies this instance of the EngineConfiguration class.

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

' Set the value.
eng.ConfigName = "MyConfiguration"

' Update the class instance in WMI.
eng.Put_

Member Of

EngineConfiguration class