Asynchronously starts, restarts, or stops a specific product.
- Parameters:
-
szwProductID | product ID. Taken from the container of the current host state. |
nNewState | new state of a specific product. Accepts one of the following values:
- 0 means start.
- 1 means restart.
- 2 means stop.
|
- Returns:
- ID of an asynchronous request. Use this ID to get the result with current host state.
- Exceptions:
-
The | function throws an exception in case of an error. |