DataConnectionManager Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a shared set of data connection objects that are created on demand and managed by Visual Studio.
public ref class DataConnectionManager abstract : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Data::DataConnection ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Data::DataConnection ^>
[System.Runtime.InteropServices.Guid("E7A0D4E0-D0E4-4afa-A8A1-DD4636073D98")]
public abstract class DataConnectionManager : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Data.DataConnection>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Data.DataConnection>
[<System.Runtime.InteropServices.Guid("E7A0D4E0-D0E4-4afa-A8A1-DD4636073D98")>]
type DataConnectionManager = class
interface ICollection<DataConnection>
interface seq<DataConnection>
interface IEnumerable
Public MustInherit Class DataConnectionManager
Implements ICollection(Of DataConnection), IEnumerable(Of DataConnection)
- Inheritance
-
DataConnectionManager
- Attributes
- Implements
Data |
Class constructor. |
Count |
Retrieves a count of the number of data connections currently being managed. |
Copy |
Copies the set of currently managed data connections to an array, starting at the specified array index. |
Create |
Initializes a data connection. This method should not be called by client code. |
Get |
Retrieves a data connection that is equivalent to the specified connection information, with an indication whether the connection information is updated. |
Get |
Retrieves a data connection that is equivalent to the specified connection information. |
Invalidate |
Invalidates a currently managed data connection that matches the specified connection information, if any. |
ICollection<Data |
|
ICollection<Data |
|
ICollection<Data |
|
ICollection<Data |
|
ICollection<Data |
|
IEnumerable. |
Retrieves an IEnumerator object with which to iterate through the collection. |
IEnumerable<Data |
Empty |
Return this enumeration in case it is not null. In case it is null return empty enumeration. |
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |