IDebugProcess2::GetServer
Applies to: Visual Studio Visual 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
Gets the server that this process is running on.
HRESULT GetServer(
IDebugCoreServer2** ppServer
);
int GetServer(
out IDebugCoreServer2 ppServer
);
ppServer
[out] Returns an IDebugCoreServer2 object that represents the server on which this process is running.
If successful, returns S_OK
; otherwise, returns an error code.
More than one server can be running on a single machine.