다음을 통해 공유


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
Public property Connection Gets the data connection corresponding to the current connection node in Server Explorer.
Public property ConnectionNode Gets the current connection node in Server Explorer.
Public property DisplayName Gets or sets the display name of the root node for the data connection.
Public property EncryptedConnectionString Gets an encrypted string containing information about the data connection.
Public property Provider Gets the unique identifier of the DDEX provider for the Server Explorer connection.
Public property SelectedNodes Gets the currently selected nodes in Server Explorer for a single Server Explorer connection.
Public property Source Gets the data source of the current connection node.

Top

Methods

  Name Description
Public method FindDocumentNode(String) Gets the specified connection node through the data view hierarchy.
Public method FindDocumentNode(String, Boolean) Gets the specified connection node through the data view hierarchy. Optionally, searches unexpanded nodes that are not populated.
Public method FindNode(Int32) Retrieves the connection node from Server Explorer based on its ID.
Public method FindNode(String) Retrieves the connection node from Server Explorer based on its name.
Public method 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
Public event NodeChanged Occurs when a node has changed.
Public event NodeExpandedOrRefreshed Occurs when a node is expanded or refreshed in Server Explorer.
Public event NodeInserted Occurs when a node is inserted in Server Explorer.
Public event 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.

See Also

Reference

Microsoft.VisualStudio.Data.Services Namespace

IVsDataConnection