Force the TCP/IP protocol in connection string

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 01:33:56

问题


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:


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



来源:https://stackoverflow.com/questions/4430381/force-the-tcp-ip-protocol-in-connection-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!