共用方式為


DataViewManager.IsEquivalent(Object, Guid, String, Boolean) Method

Definition

Tests the equivalency of a specified data view.

protected:
 abstract bool IsEquivalent(System::Object ^ dataView, Guid provider, System::String ^ connectionString, bool encryptedString);
protected abstract bool IsEquivalent (object dataView, Guid provider, string connectionString, bool encryptedString);
abstract member IsEquivalent : obj * Guid * string * bool -> bool
Protected MustOverride Function IsEquivalent (dataView As Object, provider As Guid, connectionString As String, encryptedString As Boolean) As Boolean

Parameters

dataView
Object

Object instance of the specified data view.

provider
Guid

Unique identifier of a DDEX provider.

connectionString
String

An unencrypted or encrypted string containing connection information.

encryptedString
Boolean

Indicates whether the connectionString parameter is encrypted.

Returns

Returns true if there is equivalency; otherwise returns false.

Exceptions

The dataView and/or connectionString parameter is null.

The specified provider is not a registered DDEX provider.

Applies to