勇芳软件工作室.汉化:  Windows Management Instrumentation > COM API for WMI > Interfaces > IWbemCausalityAccess >

IsChildOf Method

Previous pageReturn to chapter overviewNext page

描述

 

IsChildOf方法确定请求是否是指定请求(pId)的子级。父请求可以有多个子请求。每个请求由全局唯一标识符(GUID)标识,并且可以具有父请求或可以是最高请求。GUID是唯一的128位数字。

 

C++ 语法

 

HRESULT IsChildOf(

[out]  REQUESTID *  pId

);

 

PowerBASIC 语法

 

METHOD IsChildOf ( _

BYREF pId AS GUID _

) AS LONG

 

参数

 

pId

 

唯一标识请求的GUID值。例如,5b2fc63a-8af4-44cb-960c-aefdced908d6。

 

返回值

 

如果指定的请求是调用IsChildOf方法的请求的子节点,则返回成功。

 

要求

 

客户

需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95。

服务器

需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。

在Wbemint.h中声明。

DLL

需要Fastprox.dll。