Force the TCP/IP protocol in connection string

后端 未结 1 432
清歌不尽
清歌不尽 2021-01-12 00:11

i have a database driven website written in asp.net. i\'d like to modify the connection string to force protocol TCP. Please advise. Thanks!

相关标签:
1条回答
  • 2021-01-12 00:12

    You can use server=tcp:hostname in your connection string to achieve this.

    For more details, see How to use the server name parameter in a connection string to specify the client network library

    0 讨论(0)
提交回复
热议问题