IWbemPath::RemoveAllScopes 方法从路径中删除所有范围。
语法
HRESULT RemoveAllScopes();
返回值
此方法返回具有下列值之一的 HRESULT 。
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows Vista |
| 最低受支持的服务器 | Windows Server 2008 |
| 目标平台 | Windows |
| 标头 | wmiutils.h |
| Library | Wbemuuid.lib |
| DLL | Wmiutils.dll |
IWbemPath::RemoveAllScopes 方法从路径中删除所有范围。
HRESULT RemoveAllScopes();
此方法返回具有下列值之一的 HRESULT 。
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | Windows Vista |
| 最低受支持的服务器 | Windows Server 2008 |
| 目标平台 | Windows |
| 标头 | wmiutils.h |
| Library | Wbemuuid.lib |
| DLL | Wmiutils.dll |