Partilhar via


IVsDataConnection.EquivalentTo(Guid, String, Boolean) Method

Definition

Indicates whether the given data connection information, as represented by the provider GUID and a connection string, is equivalent to the current instance of the data connection.

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

Parameters

provider
Guid

The GUID of the data provider.

connectionString
String

The connection string containing connection properties and values.

encryptedString
Boolean

A Boolean value indicating whether the connection string is encrypted.

Returns

true if the given data connection information is equivalent to the current instance; otherwise, false.

Applies to