RemoveScope method

IWbemPath::RemoveScope method

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

Syntax


HRESULT RemoveScope(
  [in] ULONG uIndex
);

Parameters

uIndex [in]

Index of the scope to be removed.

Return value

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

S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

Index is out of range.

WBEM_E_OUT_OF_MEMORY

Out of memory.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show:
© 2016 Microsoft