iWbemPath::RemoveScope 方法 (wmiutils.h)

IWbemPath::RemoveScope 方法會根據索引移除範圍。

語法

HRESULT RemoveScope(
  [in] ULONG uIndex
);

參數

[in] uIndex

要移除的範圍索引。

傳回值

這個方法會傳回具有下列其中一個值的 HRESULT

規格需求

需求
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 wmiutils.h
程式庫 Wbemuuid.lib
Dll Wmiutils.dll

另請參閱

IWbemPath

IWbemPathKeyList