IWbemPath::RemoveAllScopes method

The IWbemPath::RemoveAllScopes method removes all scopes from the path.

Syntax


HRESULT RemoveAllScopes();

Parameters

This method has no parameters.

Return value

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

S_OK

Method executed successfully.

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

 

 

Show: