在ado.net连接字符串中,获取数据源或服务器之间的区别究竟是它们之间的区别 [英] in ado.net connection string what is the difference between taking data source or server what exactly the difference between them

查看:134
本文介绍了在ado.net连接字符串中,获取数据源或服务器之间的区别究竟是它们之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ado.net的连接字符串中获取数据源(或)服务器之间的区别

Difference between taking data source (or) server in the connection string of ado.net

推荐答案

没有:它们是同义词。

http://msdn.microsoft.com/en-gb/library /system.data.sqlclient.sqlconnection.connectionstring.aspx [ ^ ]
Nothing: they are synonyms.
http://msdn.microsoft.com/en-gb/library/system.data.sqlclient.sqlconnection.connectionstring.aspx[^]


这取决于数据提供者,如何使用不同的关键词。

'服务器'和'数据源'通常意味着相同的东西,但特定的数据提供者只使用其中一个。

你可以在这里读取连接字符串

连接字符串参考 [ ^ ]
It depends on the data provider, how the different key words are used.
'Server' and 'Data Source' usually means the same thing, but a specific data provider only uses one of them.
You can read up on connection strings here
The Connection Strings Reference[^]


这篇关于在ado.net连接字符串中,获取数据源或服务器之间的区别究竟是它们之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆