ScheduleRecycle Property

ScheduleRecycle Property

Gets and sets a scheduled time to recycle the Telephony Application Services (TAS) worker process.

obj.ScheduleRecycle = string

Part

Description

obj

An instance of the TAS class.

string

A string that specifies a scheduled time to recycle the TAS worker process. The format is HH:MM, where HH ranges from 00 to 23, and MM ranges from 00 to 59. If the value is set to an empty string, there is no scheduled recycle.

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

"00:00"

Default value for this property.

Remarks

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

This recycle happens only once during a 24 hour period, unless this property is changed.

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")

' Create a new instance of the TAS class.
Set tel = namespace.Get("TAS=@")

' Display the current value.
WScript.Echo tel.ScheduleRecycle

' Set the property value.
tel.ScheduleRecycle = "00:00"

' Update the class instance in WMI.
tel.Put_

Member Of

TAS class