Jaa


IDebugProcess2::GetServer

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

Gets the server that this process is running on.

Syntax

HRESULT GetServer( 
   IDebugCoreServer2** ppServer
);
int GetServer( 
   out IDebugCoreServer2 ppServer
);

Parameters

ppServer
[out] Returns an IDebugCoreServer2 object that represents the server on which this process is running.

Return Value

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

Remarks

More than one server can be running on a single machine.

See also