DataExplorerConnectionManager Members

Provides methods and properties that enable programmatic interaction with data connections exposed in the Server Explorer.

The DataExplorerConnectionManager type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method AddConnection Adds a new connection to the Server Explorer window with the specified connection settings.
Public method CopyTo Copies all DataExplorerConnection object instances into an array, starting at a specified index.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindConnection Overloaded. Locates a DataExplorerConnection object instance with a specified display name.
Public method GetConnections Retrieves an array containing all the current DataExplorerConnection instances.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
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 PromptAndAddConnection Prompts the user for, and adds, a new DataExplorerConnection object instance.
Public method RemoveConnection Removes an existing DataExplorerConnection object instance from the set of current connections.
Public method SelectConnection Selects a specific data connection in the Server Explorer tree view.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Retrieves an integer value specifying the number of current data connections visible in the Server Explorer.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the set of connections exposed in the Visual StudioServer Explorer to an array, starting at the specified array index.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Retrieves an enumerator that is able to iterate through the connections collection.
Explicit interface implemetationPrivate property ICollection.IsSynchronized
Explicit interface implemetationPrivate property ICollection.SyncRoot

Top

See Also

Reference

DataExplorerConnectionManager Class

Microsoft.VisualStudio.Data Namespace