Partilhar via


IDebugDefaultPort2::GetServer

This method obtains an interface to the server that this port is on.

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

Parameters

Return Value

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

Remarks

The IDebugCoreServer3 is implemented by Visual Studio and represents the server that the port is located on.

See Also

Reference

IDebugDefaultPort2

IDebugCoreServer3