IWdsTransportManager::GetWdsTransportServer method (wdstptmgmt.h)

Creates an object of the IWdsTransportServer interface that can be used to manage a WDS transport server. The method confirms that the system can reach a WDS transport server with the specified name.

Syntax

HRESULT GetWdsTransportServer(
  [in]  BSTR                bszServerName,
  [out] IWdsTransportServer **ppWdsTransportServer
);

Parameters

[in] bszServerName

The name of the WDS transport server to be represented by this object. This can be a NetBIOS name or a fully qualified DNS name. If the value is an empty string, the object represents the local computer.

[out] ppWdsTransportServer

A pointer to the object of the IWdsTransportServer interface.

Return value

Standard HRESULT error values are used: S_OK for success; others for failure.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wdstptmgmt.h
DLL Wdstptmgmt.dll

See also

IWdsTransportManager

IWdsTransportServer