DataConnection.EquivalentTo(Guid, String, Boolean) Method

Definition

Retrieves a Boolean value indicating whether or not information about the current connection is equivalent, in a design time sense, to the specified connection information.

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

Parameters

provider
Guid

The unique identifier of a DDEX provider.

connectionString
String

An unencrypted or encrypted provider-specific connection string.

encryptedString
Boolean

Indication whether the connectionString parameter is unencrypted or encrypted. Provides true if encrypted.

Returns

Returns true if the current connection's information is equivalent to connection information for the specified connection; otherwise returns false.

Applies to