OV_Service::IsChildOf()
OV_Service::IsChildOf_Trans()
- boolean IsChildOf(
- [in] string ParentName)
- boolean IsChildOf_Trans(
- [in] string TransId,
- [in] string ParentName)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ParentName
- The Name property of the service (instance of OV_Service) to
check if the service is the parent of this service.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns true if the specified service (instance of OV_Service)
is the parent of this service. Only immediate child services are
checked.
Return Value
True if the service (instance of OV_Service) specified by a
parameter of ParentName is the parent of this service.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.