Jaa


IDebugCoreServer3::GetServerFriendlyName

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a friendly name for the server.

Syntax

HRESULT GetServerFriendlyName(
   BSTR* pbstrName
);
int GetServerFriendlyName(
   out string pbstrName
);

Parameters

pbstrName
[out] Returns a friendly name for the server.

Note

The caller is responsible for freeing the string.

Return Value

If successful, returns S_OK; otherwise, returns error code.

Remarks

For user-launched servers, the name returned by this method is the full name of the server. For auto-launched servers, the name is that of the machine the server is running on.

For a machine-oriented name, call the GetServerName method.

See also