Share via


DataExplorerConnection Class

Represents a connection that exists in the Visual Studio Server Explorer or Data Explorer window.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataExplorerConnection

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustInherit Class DataExplorerConnection
public abstract class DataExplorerConnection
public ref class DataExplorerConnection abstract
[<AbstractClass>]
type DataExplorerConnection =  class end
public abstract class DataExplorerConnection

The DataExplorerConnection type exposes the following members.

Constructors

  Name Description
Protected method DataExplorerConnection Class constructor. This constructor supports the DDEX infrastructure and is not intended to be used directly from your code.

Top

Properties

  Name Description
Public property DisplayName Retrieves or sets the display name of the root node for this data connection.
Public property EncryptedConnectionString Retrieves an encrypted string containing information about this data connection.
Public property Hierarchy Gets the underlying IVsUIHierarchy object that represents this Explorer connection in the tree view.
Protected property HierarchyObject This member supports the DDEX infrastructure and is not intended to be used directly from your code.
Public property Provider Retrieves the unique identifier of the DDEX Provider for this Explorer connection.

Top

Methods

  Name Description
Public method Equals Evaluates whether a specified object is equivalent to the current Explorer connection object instance. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Retrieves an integer value representing the hash code for the current Explorer connection instance. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Depending on the edition of Visual Studio you are using, the tool window that contains data connection nodes may be called "Server Explorer", "Database Explorer", or "Data Explorer". Regardless, this class represents a data connection node that appears as a child to the "Data Connections" node in this Visual Studio window.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data Namespace

DataConnection