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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.