IVsDataExplorerConnection Interface
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
'宣言
<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 | |
---|---|---|
Connection | Gets the data connection corresponding to the current connection node in Server Explorer. | |
ConnectionNode | Gets the current connection node in Server Explorer. | |
DisplayName | Gets or sets the display name of the root node for the data connection. | |
EncryptedConnectionString | Gets an encrypted string containing information about the data connection. | |
Provider | Gets the unique identifier of the DDEX provider for the Server Explorer connection. | |
SelectedNodes | Gets the currently selected nodes in Server Explorer for a single Server Explorer connection. | |
Source | Gets the data source of the current connection node. |
Top
Methods
Name | Description | |
---|---|---|
FindDocumentNode(String) | Gets the specified connection node through the data view hierarchy. | |
FindDocumentNode(String, Boolean) | Gets the specified connection node through the data view hierarchy. Optionally, searches unexpanded nodes that are not populated. | |
FindNode(Int32) | Retrieves the connection node from Server Explorer based on its ID. | |
FindNode(String) | Retrieves the connection node from Server Explorer based on its name. | |
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 | |
---|---|---|
NodeChanged | Occurs when a node has changed. | |
NodeExpandedOrRefreshed | Occurs when a node is expanded or refreshed in Server Explorer. | |
NodeInserted | Occurs when a node is inserted in Server Explorer. | |
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.