I am using SQL Server 2012 (11.0.5058.0) extended events, and wish to know the network protocol used by each connection (TCP/IP, shared memory etc).
Event session created for the login event via: -
CREATE EVENT SESSION [Login] ON SERVER
ADD EVENT sqlserver.login(
ACTION(
sqlserver.client_app_name
,sqlserver.client_connection_id
,sqlserver.client_hostname
,sqlserver.client_pid
...
...
I have added all available actions for the login event (SELECT * FROM sys.dm_xe_objects WHERE package_guid = '655FD93F-3364-40D5-B2BA-330F7FFB6491' AND object_type = 'action' ORDER BY name) but none appear to give the network protocol.
It may be of course that Login is not the correct event to give this information, but I can't see a connection event (or similar) within the XE DMV.
To confirm, I want an extended event session to expose the net_transport information that is returned by dm_exec_connections: -
SELECT net_transport FROM sys.dm_exec_connections