IVsDataConnection.EquivalentTo(Guid, String, Boolean) 方法

定义

指示给定的数据连接信息(由提供程序 GUID 和连接字符串表示)是否等效于当前的数据连接实例。

public:
 bool EquivalentTo(Guid provider, System::String ^ connectionString, bool encryptedString);
public bool EquivalentTo (Guid provider, string connectionString, bool encryptedString);
abstract member EquivalentTo : Guid * string * bool -> bool
Public Function EquivalentTo (provider As Guid, connectionString As String, encryptedString As Boolean) As Boolean

参数

provider
Guid

数据提供程序的 GUID。

connectionString
String

包含连接属性和值的连接字符串。

encryptedString
Boolean

指示连接字符串是否已加密的布尔值。

返回

Boolean

如果给定的数据连接信息等效于当前实例,则为 true;否则为 false。

适用于