DataViewManager.CreateDataViewHierarchy, méthode

Crée une nouvelle instance de l'objet de la hiérarchie de vue de données.

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

Syntaxe

'Déclaration
Protected MustOverride Function CreateDataViewHierarchy ( _
    name As String, _
    provider As Guid, _
    connectionString As String, _
    encryptedString As Boolean _
) As Object
protected abstract Object CreateDataViewHierarchy(
    string name,
    Guid provider,
    string connectionString,
    bool encryptedString
)
protected:
virtual Object^ CreateDataViewHierarchy(
    String^ name, 
    Guid provider, 
    String^ connectionString, 
    bool encryptedString
) abstract
abstract CreateDataViewHierarchy : 
        name:string * 
        provider:Guid * 
        connectionString:string * 
        encryptedString:bool -> Object
protected abstract function CreateDataViewHierarchy(
    name : String, 
    provider : Guid, 
    connectionString : String, 
    encryptedString : boolean
) : Object

Paramètres

  • name
    Type : String

    Nom de la hiérarchie de vue de données.

  • 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 : Object
Cette méthode est intégrée à l'infrastructure de DDEX et n'est pas destinée à être appelée à partir de votre code.

Sécurité .NET Framework

Voir aussi

Référence

DataViewManager Classe

Microsoft.VisualStudio.Data, espace de noms

GetDataViewHierarchy