IWbemPath::SetServer method (wmiutils.h)

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

Syntax

HRESULT SetServer(
  [in] LPCWSTR Name
);

Parameters

[in] Name

New server name. NULL is an acceptable value.

Return value

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

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