OV_ManagedNode::HasAction()
OV_ManagedNode::HasAction_Trans()
- boolean HasAction(
- [in] string ActionName,
- [in, optional] boolean IncludeInherited)
- boolean HasAction_Trans(
- [in] string TransId,
- [in] string ActionName,
- [in, optional] boolean IncludeInherited)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ActionName
- The Name property of the tool (instance of OV_Action), which is
used to verify that the tool is associated with this node.
- IncludeInherited
- Defines whether the tool to find can also be inherited from
these node parents (and their parents, recursively). Optional
parameter. Default value is false.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns true if the specified tool (instance of OV_Action) is
associated with this node.
Return Value
False if the tool is already added to this node.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.