DataViewManager.IsEquivalent, méthode

Teste l'équivalence d'une vue de données spécifiée.

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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

Paramètres

  • dataView
    Type : Object

    Instance de l'objet de la vue de données spécifiée.

  • provider
    Type : Guid

    Identificateur unique d'un fournisseur de DDEX.

  • connectionString
    Type : String

    Une chaîne décryptée ou chiffrée contenant les informations de connexion.

  • encryptedString
    Type : Boolean

    Indique si le paramètre d' connectionString est chiffré.

Valeur de retour

Type : Boolean
Retourne true s'il existe d'équivalence ; sinon retourne false.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre d' dataView et/ou d' connectionString est null.

ArgumentException

Le fournisseur spécifié n'est pas un fournisseur stocké de DDEX.

Notes

Ce membre prend en charge l'infrastructure de DDEX et n'est pas destiné à être utilisé directement à partir de votre code.

Sécurité .NET Framework

Voir aussi

Référence

DataViewManager Classe

Microsoft.VisualStudio.Data, espace de noms