OV_Action::GetNodes()
OV_Action::GetNodes_Trans()
- sint32 GetNodes(
- [out] OV_ManagedNode Nodes[],
- [in, optional] boolean IncludeInherited)
- sint32 GetNodes_Trans(
- [in] string TransId,
- [out] OV_ManagedNode Nodes[],
- [in, optional] boolean IncludeInherited)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- Nodes
- Instances of OV_ManagedNode to which this tool is added. An
instance is valid as a returned out parameter only if the method
does not fail.
- IncludeInherited
- Indicates whether Nodes also contains nodes to which this tool
is not directly associated. The nodes are inherited from a parent
node group. Optional parameter. Default value is false.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns a list of nodes (instances of OV_ManagedNode) with which
this tool is associated.
Return Value
Number of nodes in out parameter Nodes.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.