WorkerStartupTimeout Property

WorkerStartupTimeout Property

Gets and sets a value that specifies how long Speech Engine Services (SES) waits for a new worker process to start.

obj.WorkerStartupTimeout = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the amount of time to wait (in milliseconds) for a new worker process to start.

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

900

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 SES instance.
Set ss = namespace.Get("SES=@")

' Display the current value.
WScript.Echo ss.WorkerStartupTimeout

' Set the property value.
ss.WorkerStartupTimeout = 120

' Update the class instance in WMI.
ss.Put_

Member Of

SES class