IWbemPath::RemoveNamespaceAt method (wmiutils.h)

The IWbemPath::RemoveNamespaceAt method removes a namespace at a particular index. The leftmost namespace has an index value of 0 (zero), while namespaces to the right have progressively higher index values.

Syntax

HRESULT RemoveNamespaceAt(
  [in] ULONG uIndex
);

Parameters

[in] uIndex

Zero-based index value of the namespace 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