IWbemPath::RemoveScope method (wmiutils.h)

The IWbemPath::RemoveScope method removes a scope based on the index.

Syntax

HRESULT RemoveScope(
  [in] ULONG uIndex
);

Parameters

[in] uIndex

Index of the scope to be removed.

Return value

This method returns an HRESULT with one of the following values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wmiutils.h
Library Wbemuuid.lib
DLL Wmiutils.dll

See also

IWbemPath

IWbemPathKeyList