Export (0) Print
Expand All
Expand Minimize

ShutdownTimeout Property

Published: June 20, 2005

ShutdownTimeout Property

Gets and sets the amount of time allowed to complete a graceful shutdown when the service receives a pause request; or during an application domain or process recycle (for Telephony Application Services (TAS) only).

obj.ShutDownTimeout = integer

Part

Description

obj

An instance of either the SES or TAS class.

integer

An unsigned integer, greater than zero, that specifies the maximum number of seconds allowed for the execution of a graceful shutdown.

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

For SES, the default is 300.
For TAS, the default is 600.

Default value for this property.

Remarks

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

If any sessions (SES) or calls (TAS) are still open at the end of this period, they are forcefully disconnected and the service logs a warning.

Note   This timeout is not applied if the service is issued a stop request; in this case all calls or sessions are disconnected immediately.

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

' Set the property value.
tel.ShutDownTimeout = 20

' Update the class instance in WMI.
tel.Put_

Member Of

SES class

TAS class

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft