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
'宣言
Function PromptAndAddConnection As IVsDataExplorerConnection
'使用
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.
Permissions
- 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.
See Also
Reference
IVsDataExplorerConnectionManager Interface