DataSourceManager Class
Represents the set of registered DDEX data sources.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.DataSourceManager
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Déclaration
<GuidAttribute("69BD65B1-1C44-49c6-B83A-FB0353334545")> _
Public MustInherit Class DataSourceManager _
Implements ICollection(Of DataSource), IEnumerable(Of DataSource), _
IEnumerable
[GuidAttribute("69BD65B1-1C44-49c6-B83A-FB0353334545")]
public abstract class DataSourceManager : ICollection<DataSource>,
IEnumerable<DataSource>, IEnumerable
[GuidAttribute(L"69BD65B1-1C44-49c6-B83A-FB0353334545")]
public ref class DataSourceManager abstract : ICollection<DataSource^>,
IEnumerable<DataSource^>, IEnumerable
[<AbstractClass>]
[<GuidAttribute("69BD65B1-1C44-49c6-B83A-FB0353334545")>]
type DataSourceManager =
class
interface ICollection<DataSource>
interface IEnumerable<DataSource>
interface IEnumerable
end
public abstract class DataSourceManager implements ICollection<DataSource>, IEnumerable<DataSource>, IEnumerable
The DataSourceManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSourceManager | Class constructor. Instantiates a new instance of the DataSourceManager class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Retrieves a count of the number of registered data sources. |
Top
Methods
Name | Description | |
---|---|---|
CopyTo | Copies the set of registered data sources to an array, starting at the specified array index. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from 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.) | |
GetDataSource | Retrieves a data source with the specified GUID. | |
GetDataSources | Retrieves an array of all the registered data sources. | |
GetDataSourcesImpl | For internal use only. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
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
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection<DataSource>.Add | Adds a data source to the DDEX data source collection. | |
ICollection<DataSource>.Clear | Clears the DDEX data source collection. | |
ICollection<DataSource>.Contains | Tests whether the DDEX data source collection contains a specified data source. | |
IEnumerable<DataSource>.GetEnumerator | Retrieves an enumerator for enumerating the DDEX data source collection. | |
IEnumerable.GetEnumerator | Retrieves an enumerator for enumerating the DDEX data source collection. | |
ICollection<DataSource>.IsReadOnly | Tests whether the data source collection is read only. | |
ICollection<DataSource>.Remove | Removes a data source from the DDEX data source collection. |
Top
Remarks
This class provides an object model around the data source registration information in the registry.
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.