IVsDataConnectionDialog.ShowDialog, méthode (Boolean)

Affiche la boîte de dialogue Ajouter une connexion préalable remplie avec les paramètres de fournisseur de données et de chaîne de connexion.

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

Syntaxe

'Déclaration
Function ShowDialog ( _
    connect As Boolean _
) As IVsDataConnection
IVsDataConnection ShowDialog(
    bool connect
)
IVsDataConnection^ ShowDialog(
    bool connect
)
abstract ShowDialog : 
        connect:bool -> IVsDataConnection
function ShowDialog(
    connect : boolean
) : IVsDataConnection

Paramètres

  • connect
    Type : Boolean

    Une valeur d' Boolean indiquant si la boîte de dialogue doit essayer d'ouvrir la connexion avant de retourner.

Valeur de retour

Type : Microsoft.VisualStudio.Data.Services.IVsDataConnection
Un objet d' IVsDataConnection représentant une connexion ouverte en fonction de les paramètres de chaîne de connexion.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataConnectionDialog Interface

ShowDialog, surcharge

Microsoft.VisualStudio.Data.Services, espace de noms