IVsDataExplorerConnectionManager.PromptAndAddConnection Method
Prompts the user with the connection dialog box to add a new connection in Server Explorer.
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
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection
An IVsDataExplorerConnection object representing the new data connection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.