Share via


IDebugCoreServer3::GetConnectionProtocol

Note

This article applies to Visual Studio 2015. 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

IDebugCoreServer3
CONNECTION_PROTOCOL