IBdnHostLocator::GetServer

[This is preliminary documentation and subject to change.]

The GetServer method retrieves the server name from the last SetServer or FindServer call.

Syntax

HRESULT GetServer(
  LPCOLESTR ServerName
);
 

Parameters

ServerName
Pointer to where the method should put the Unicode string containing the server name.

Return Value

Returns E_INVALIDARG if the ServerName parameter is NULL or E_OUTOFMEMORY if there is not enough memory at ServerName for the name. If the method succeeds it returns S_OK.

See Also

IBdnHostLocator::SetServer