OV_Tools::HasChildToolGroup()
OV_Tools::HasChildToolGroup_Trans()
- boolean HasChildToolGroup(
- [in] string ToolGroupName,
- [in, optional] boolean IncludeSubGroups)
- boolean HasChildToolGroup_Trans(
- [in] string TransId,
- [in] string ToolGroupName,
- [in, optional] boolean IncludeSubGroups)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ToolGroupName
- The Name property of the tool group (instances of OV_Tools)
that is used to verify that it is a child of this tool group.
- IncludeSubGroups
- Indicates whether the tool group to find is also searched in
child groups (recursive). 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 group (instance of OV_Tools)
is a child of this tool group.
Return Value
True if the tool group (instance of OV_Tools) specified by the
ToolGroupName parameter is a child of this tool group.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.