Force the TCP/IP protocol in connection string

后端 未结 1 431
清歌不尽
清歌不尽 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)
提交回复
热议问题