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
'Declaración
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 | |
---|---|---|
DataExplorerConnection | Class constructor. This constructor supports the DDEX infrastructure and is not intended to be used directly from your code. |
Top
Properties
Name | Description | |
---|---|---|
DisplayName | Retrieves or sets the display name of the root node for this data connection. | |
EncryptedConnectionString | Retrieves an encrypted string containing information about this data connection. | |
Hierarchy | Gets the underlying IVsUIHierarchy object that represents this Explorer connection in the tree view. | |
HierarchyObject | This member supports the DDEX infrastructure and is not intended to be used directly from your code. | |
Provider | Retrieves the unique identifier of the DDEX Provider for this Explorer connection. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Evaluates whether a specified object is equivalent to the current Explorer connection object instance. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Retrieves an integer value representing the hash code for the current Explorer connection instance. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.