CONNECTIONPROPERTY (Transact-SQL)
SQL Server 2008 R2
Returns information about the connection properties for the unique connection that a request came in on.
The values that are returned are the same as the options shown for the corresponding columns in the sys.dm_exec_connections dynamic management view. For example:
SELECT
ConnectionProperty('net_transport') AS 'Net transport',
ConnectionProperty('protocol_type') AS 'Protocol type'