DataSource Class
Represents and provides access to a DDEX data source.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.DataSource
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public MustInherit Class DataSource
public abstract class DataSource
public ref class DataSource abstract
[<AbstractClass>]
type DataSource = class end
public abstract class DataSource
The DataSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSource | Class constructor. |
Top
Properties
Name | Description | |
---|---|---|
DefaultProvider | Retrieves the default DDEX provider using a global unique identifier (GUID). | |
Description | Retrieves a localized description of this data source. | |
DisplayName | Retrieves the name of the data source for UI display. | |
Guid | Retrieves the global unique identifier (GUID) of the data source. |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
GetDescription | Retrieves a description for a data source combined with a specified DDEX provider. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty(String) | Retrieves a data source property stored with the data source registration entries, specifying the property by name. | |
GetProperty(Guid, String) | Retrieves a data source property stored with the data source registration entries, specifying the property by name and GUID. | |
GetProviders | Retrieves an array of data provider GUIDs representing DDEX providers that support the data source. | |
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
DDEX supports the concepts of data sources and DDEX providers. A data source represents a data source type, such as a SQL Server or Microsoft Access database (.mdb) file. A DDEX provider supports one or more specific data sources. On the other hand, each data source may have one or more DDEX providers associated with it.
A given DDEX provider supports one or more specific data sources. Further, a given data source may support any number of DDEX providers.
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.