IWbemPath::GetNamespaceCount 方法返回路径中的命名空间数。
语法
HRESULT GetNamespaceCount(
[out] ULONG *puCount
);
参数
[out] puCount
路径中的命名空间数。
返回值
此方法返回具有以下值之一的 HRESULT 。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows Vista |
| 最低受支持的服务器 | Windows Server 2008 |
| 目标平台 | Windows |
| 标头 | wmiutils.h |
| Library | Wbemuuid.lib |
| DLL | Wmiutils.dll |