Export (0) Print
Expand All
Expand Minimize

ScriptTimeout Property

Published: June 20, 2005

ScriptTimeout Property

Gets and sets the time that the SALT interpreter allows for an event handler to execute.

obj.ScriptTimeout = integer

Part

Description

obj

An instance of the TAS class.

integer

An unsigned integer that specifies the maximum number of seconds the SALT interpreter allows for an event handler to execute. A value greater than zero specifies the number of seconds. Zero sets this property to infinite. This setting is not recommended.

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

10

Default value for this property.

MinValue

0

Minimum value for this property.

Remarks

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

If the value of this property is exceeded, the SALT interpreter resets, and the call disconnects.

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

' Set the property value.
tel.ScriptTimeout = 10

' Update the class instance in WMI.
tel.Put_

Member Of

TAS class

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