IWbemPath::GetScopeCount方法會傳回路徑中的範圍數目。
語法
HRESULT GetScopeCount(
[out] ULONG *puCount
);
參數
[out] puCount
路徑中的範圍數目。 有範圍時,基本上就是路徑的類別或索引鍵部分。
傳回值
這個方法會傳回下列值。
規格需求
| 最低支援的用戶端 | Windows Vista |
| 最低支援的伺服器 | Windows Server 2008 |
| 目標平台 | Windows |
| 標頭 | wmiutils.h |
| 程式庫 | Wbemuuid.lib |
| Dll | Wmiutils.dll |