OV_Tools::GetParents()
OV_Tools::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 direct parents of this tool
group. An instance is valid as a returned out parameter only if the
method does not fail.
- IncludeAllHierarchicalParents
- Indicates whether ToolGroups also includes 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 group is a
child.
Return Value
Number of tool groups (parents) in the out parameter
ToolGroups.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.