Share via


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

See Also

Reference

IVsDataExplorerConnectionManager Interface

Microsoft.VisualStudio.Data.Services Namespace