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
'Usage
Dim instance As IVsDataExplorerConnectionManager 
Dim returnValue As IVsDataExplorerConnection 

returnValue = instance.PromptAndAddConnection()
IVsDataExplorerConnection PromptAndAddConnection()
IVsDataExplorerConnection^ PromptAndAddConnection()
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

IVsDataExplorerConnectionManager Members

Microsoft.VisualStudio.Data.Services Namespace