EnableFailoverWorkerProcess Property
EnableFailoverWorkerProcess Property
Gets and sets a value that specifies whether an idle Speech Engine Services (SES) worker process is available for failover.
obj.EnableFailoverWorkerProcess = boolean
Part |
Description |
---|---|
obj |
An instance of the SES class. |
boolean |
An Boolean expression that specifies whether an idle SES worker process is maintained for failover handling. |
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 |
True |
Default value for this property. |
Remarks
This property can also be tracked through the SES Service Performance Object, with the Active - and Idle Worker Processes performance counters.
EnableFailoverWorkerProcess 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.EnableFailoverWorkerProcess ' Set the property value. ss.EnableFailoverWorkerProcess = True ' Update the class instance in WMI. ss.Put_