Share via


IDebugCoreServer3::GetConnectionProtocol

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

Returns a value indicating the protocol that is being used to communicate between the server and the debug package.

Syntax

HRESULT GetConnectionProtocol(
   CONNECTION_PROTOCOL* pProtocol
);
int GetConnectionProtocol(
   CONNECTION_PROTOCOL[] pProtocol
);

Parameters

pProtocol
[out] Returns one of the values from the CONNECTION_PROTOCOL enumeration.

Return Value

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

See also