Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the name of the server.
HRESULT GetServerName(
BSTR* pbstrName
);
int GetServerName(
out string pbstrName
);
Parameters
pbstrName
[out] Returns the name of the server.Note
The caller is responsible for freeing the string.
Return Value
If successful, returns S_OK; otherwise, returns error code.
Remarks
For a friendly server name, call the IDebugCoreServer3::GetServerFriendlyName method.