Last active
February 25, 2017 18:47
-
-
Save tayyebi/1a87011e52179ad03d04cbce14a2d446 to your computer and use it in GitHub Desktop.
Get SQL Server connection properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
CONNECTIONPROPERTY('net_transport') AS net_transport, | |
CONNECTIONPROPERTY('protocol_type') AS protocol_type, | |
CONNECTIONPROPERTY('auth_scheme') AS auth_scheme, | |
CONNECTIONPROPERTY('local_net_address') AS local_net_address, | |
CONNECTIONPROPERTY('local_tcp_port') AS local_tcp_port, | |
CONNECTIONPROPERTY('client_net_address') AS client_net_address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source:
http://stackoverflow.com/questions/142142