IVsDataExplorerConnectionManager Interface
Provides the ability to perform common tasks with data connections in Server Explorer, such as adding, removing, or finding a connection, among others.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnectionManager
[GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnectionManager
[GuidAttribute(L"8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnectionManager
[<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")>]
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnectionManager = interface end
public interface IVsDataExplorerConnectionManager
The IVsDataExplorerConnectionManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
Connections | Gets a collection of key/value pairs containing all existing data connections. |
Top
Methods
Name | Description | |
---|---|---|
AddConnection | Adds a new data connection with the specified properties. | |
FindConnection | Searches for an existing data connection that matches the specified properties. | |
PromptAndAddConnection | Prompts the user with the connection dialog box to add a new connection in Server Explorer. | |
RemoveConnection | Removes an existing data connection from Server Explorer. | |
SelectConnection | Selects the specified data connection in Server Explorer. |
Top
Remarks
This interface is implemented as a built-in DDEX service.