HP Operations Manager for Windows

OV_Transaction::StillAlive()
OV_Transaction::StillAlive_Trans()


void StillAlive(
[in] string TransId)

Parameters

TransId
Id of the transaction started with Start method.

Calling Convention

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

Description

Indicate that some activity is still in progress for the transaction.

This method starts the timeout for "Still Active" again.

If the WMI write lock was released as a result of a timeout, it is re-acquired, and the timeout set with the Start method is started again.

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 a 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

None.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.