Freigeben über


IVsDataConnectionEquivalencyComparer.AreEquivalent(String, String) Method

Definition

Compares the specified connection strings to determine whether they are equivalent and hence provide the same design-time experience.

public:
 bool AreEquivalent(System::String ^ connectionString1, System::String ^ connectionString2);
public bool AreEquivalent (string connectionString1, string connectionString2);
abstract member AreEquivalent : string * string -> bool
Public Function AreEquivalent (connectionString1 As String, connectionString2 As String) As Boolean

Parameters

connectionString1
String

The first connection string to compare.

connectionString2
String

The second connection string to compare.

Returns

true if the connection strings are equivalent; otherwise, false.

Exceptions

The connectionString1 or the connectionString2 parameter is null.

Applies to