力连接字符串的TCP / IP协议 [英] Force the TCP/IP protocol in connection string
本文介绍了力连接字符串的TCP / IP协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经写在asp.net中一个数据库驱动的网站。我想修改连接字符串强制协议TCP。请指教。谢谢!
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!
推荐答案
您可以使用服务器= TCP:主机
在连接字符串来实现这个
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
这篇关于力连接字符串的TCP / IP协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文