OV_Action::GetParents()
OV_Action::GetParents_Trans()
- sint32 GetParents(
- [out] OV_Tools ToolGroups[],
- [in, optional] boolean IncludeAllHierarchicalParents)
- sint32 GetParents_Trans(
- [in] string TransId,
- [out] OV_Tools ToolGroups[],
- [in, optional] boolean IncludeAllHierarchicalParents)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ToolGroups
- Instances of OV_Tools that are the direct parents of this node.
An instance is valid as a returned out parameter only if the method
does not fail.
- IncludeAllHierarchicalParents
- Defines whether ToolGroups also include instances of OV_Tools
that are hierarchical parents (recursive until the root tool
group), rather than direct parents. Optional parameter. Default
value is false.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns a list of tool groups for which this tool is a
child.
Return Value
Number of tool groups (parents) in out parameter ToolGroups.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.