HP Operations Manager for Windows

OV_Transaction::Start()
OV_Transaction::Start_Trans()


string Start(
[in, optional] uint32 Timeout)

Parameters

Timeout
Timeout, in seconds, after which the write lock is released automatically (unless the timeout, set as a result of the StillAlive method, is still in progress). Optional parameter. Default value is 10 minutes.

Calling Convention

These methods can be called from a WMI class or instance object.

Description

Starts the transaction.

If the WMI write lock cannot be acquired from the AccessManager, the method waits until the WMI write lock is released.

The WMI write lock is released automatically as a result of the timeout when both timeouts (set with the Timeout parameter, as a result of the StillAlive method) end.

Theoretically, it is possible for the WMI write lock to be released even though the method that uses the transaction still has some work to do on WMI. For this reason, it is very important to use the StillAlive method.

Return Value

Id of the transaction started.

Extended Status Codes

None.

 

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.