Compartir a través de


IDebugCoreServer3::GetServerName

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.

See Also

Reference

IDebugCoreServer3

IDebugCoreServer3::GetServerFriendlyName