AllocationTimeout Property
AllocationTimeout Property
Gets and sets the amount of time that a specific request waits for a free engine to service it.
obj.AllocationTimeout = integer
Part |
Description |
---|---|
obj |
An instance of the SES class. |
integer |
An unsigned integer that specifies the maximum number of seconds that a specific request waits for a free engine to service it. |
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 |
5 |
Default value for this property. |
MinValue |
1 |
Minimum value for this property. |
Remarks
This property is not exposed in the Microsoft Speech Server 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.
If the time-out occurs, an error is logged and execution of the request fails.
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.AllocationTimeout ' Set the property value. ss.AllocationTimeout = 5 ' Update the class instance in WMI. ss.Put_