Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a connection that exists in the Visual Studio Server Explorer.
This API is not CLS-compliant.
Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnection
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnection
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnection
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnection =  interface end
public interface IVsDataExplorerConnection
The IVsDataExplorerConnection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Connection | Gets the data connection corresponding to the current connection node in Server Explorer. | 
| .gif) | ConnectionNode | Gets the current connection node in Server Explorer. | 
| .gif) | DisplayName | Gets or sets the display name of the root node for the data connection. | 
| .gif) | EncryptedConnectionString | Gets an encrypted string containing information about the data connection. | 
| .gif) | Provider | Gets the unique identifier of the DDEX provider for the Server Explorer connection. | 
| .gif) | SelectedNodes | Gets the currently selected nodes in Server Explorer for a single Server Explorer connection. | 
| .gif) | Source | Gets the data source of the current connection node. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | FindDocumentNode(String) | Gets the specified connection node through the data view hierarchy. | 
| .gif) | FindDocumentNode(String, Boolean) | Gets the specified connection node through the data view hierarchy. Optionally, searches unexpanded nodes that are not populated. | 
| .gif) | FindNode(Int32) | Retrieves the connection node from Server Explorer based on its ID. | 
| .gif) | FindNode(String) | Retrieves the connection node from Server Explorer based on its name. | 
| .gif) | FindNode(String, Boolean) | Retrieves the connection node from Server Explorer based on its name. Optionally, searches unexpanded nodes that are not populated. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | NodeChanged | Occurs when a node has changed. | 
| .gif) | NodeExpandedOrRefreshed | Occurs when a node is expanded or refreshed in Server Explorer. | 
| .gif) | NodeInserted | Occurs when a node is inserted in Server Explorer. | 
| .gif) | NodeRemoving | Occurs just before a node removal from Server Explorer. | 
Top
Remarks
This interface represents a data connection node that appears as a child to the Data Connections node in the Server Explorer.
This interface is implemented as a built-in DDEX service.