强制连接字符串中的TCP/IP协议
答
您可以使用server=tcp:hostname
在连接字符串中实现这一目标。
欲了解更多详情,请参阅How to use the server name parameter in a connection string to specify the client network library