Compartir a través de


DataViewManager.IsEquivalent Method

Tests the equivalency of a specified data view.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Protected MustOverride Function IsEquivalent ( _
    dataView As Object, _
    provider As Guid, _
    connectionString As String, _
    encryptedString As Boolean _
) As Boolean
protected abstract bool IsEquivalent(
    Object dataView,
    Guid provider,
    string connectionString,
    bool encryptedString
)
protected:
virtual bool IsEquivalent(
    Object^ dataView, 
    Guid provider, 
    String^ connectionString, 
    bool encryptedString
) abstract
abstract IsEquivalent : 
        dataView:Object * 
        provider:Guid * 
        connectionString:string * 
        encryptedString:bool -> bool
protected abstract function IsEquivalent(
    dataView : Object, 
    provider : Guid, 
    connectionString : String, 
    encryptedString : boolean
) : boolean

Parameters

  • dataView
    Type: System.Object

    Object instance of the specified data view.

  • provider
    Type: System.Guid

    Unique identifier of a DDEX provider.

  • connectionString
    Type: System.String

    An unencrypted or encrypted string containing connection information.

  • encryptedString
    Type: System.Boolean

    Indicates whether the connectionString parameter is encrypted.

Return Value

Type: System.Boolean
Returns true if there is equivalency; otherwise returns false.

Exceptions

Exception Condition
ArgumentNullException

The dataView and/or connectionString parameter is null.

ArgumentException

The specified provider is not a registered DDEX provider.

Remarks

This member supports the DDEX infrastructure and is not intended to be used directly from your code.

.NET Framework Security

See Also

Reference

DataViewManager Class

Microsoft.VisualStudio.Data Namespace