Freigeben über


IVsDataExplorerConnectionManager.PromptAndAddConnection-Methode

Fordert den Benutzer mit dem Verbindungsdialogfeld auf, eine neue Verbindung im Server-Explorer hinzuzufügen.

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

Syntax

'Declaration
Function PromptAndAddConnection As IVsDataExplorerConnection
IVsDataExplorerConnection PromptAndAddConnection()
IVsDataExplorerConnection^ PromptAndAddConnection()
abstract PromptAndAddConnection : unit -> IVsDataExplorerConnection
function PromptAndAddConnection() : IVsDataExplorerConnection

Rückgabewert

Typ: Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection
Ein IVsDataExplorerConnection-Objekt, das die neue Datenverbindung darstellt.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDataExplorerConnectionManager Schnittstelle

Microsoft.VisualStudio.Data.Services-Namespace