IWbemPath::SetServer method

The IWbemPath::SetServer method sets the server portion of the path.

Syntax


HRESULT SetServer(
  [in] LPCWSTR Name
);

Parameters

Name [in]

New server name. NULL is an acceptable value.

Return value

This method returns an HRESULT indicating the status of the method call.

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
IWbemPathKeyList

 

 

Show: