SpeechServer Property

SpeechServer Property

Gets and sets the Speech Engine Services (SES) URL to be used by Telephony Application Services (TAS). For Standard Edition, this property is read-only.

obj.SpeechServer = string

Part

Description

obj

An instance of the TAS class.

string

A string that specifies the SES URL.

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

Standard Edition: "https://localhost/SES/Lobby.asmx"

Enterprise Edition: Empty

Default value for this property.

Remarks

This property is exposed in the Microsoft Management Console (MMC) snap-in for Microsoft Speech Server (MSS).

For the MSS Enterprise Edition, all SES servers are remote, so the value for SpeechServer must be specified by using WMI or the MSS snap-in. It should take the form: "https://ServerName/SES/Lobby.asmx", where the ServerName can be either a single server, the DNS name of the hardware load balancer, or the cluster name of the computer that Windows Network Load Balancing is running on.

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

' Set the property value.
tel.SpeechServer = "https://localhost/SES/Lobby.asmx"

' Update the class instance in WMI.
tel.Put_

Member Of

TAS class