DataProvider Class
Enables creation of DDEX provider objects.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.DataProvider
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustInherit Class DataProvider
public abstract class DataProvider
public ref class DataProvider abstract
[<AbstractClass>]
type DataProvider = class end
public abstract class DataProvider
The DataProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataProvider | Class constructor. |
Top
Properties
Name | Description | |
---|---|---|
Description | Retrieves a culture-sensitive description of the DDEX provider. | |
DisplayName | Retrieves a culture-sensitive name for the specified data provider. | |
Guid | Retrieves the unique identifier of the DDEX provider. | |
ShortDisplayName | Retrieves the short form of the display name. | |
Technology | Retrieves the unique identifier of the underlying technology used by the provider, if any. |
Top
Methods
Name | Description | |
---|---|---|
CreateObject(Type) | Creates a DDEX provider implementation of a specific object type. | |
CreateObject(Guid, Type) | Creates a new DDEX provider-implemented object, preferably tailored for the specified data source, and of the specified type. | |
DeriveDataSource | Determines which data source supported by this DDEX provider is represented by the given connection string. | |
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.) | |
GetAssembly(String) | Resolves an assembly string to a specific assembly as defined by the DDEX provider. | |
GetAssembly(Guid, String) | Resolves an assembly string to an assembly associated with a specified data source as defined by the DDEX provider. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProperty | Retrieves a generically known or DDEX provider-specific property. | |
GetType() | Gets the Type of the current instance. (Inherited from Object.) | |
GetType(String) | Resolves a type name to a Type as defined by the DDEX provider. | |
GetType(Guid, String) | Resolves a type name to a Type for a specified data source as defined by the DDEX provider. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SupportsObject(Type) | Retrieves a Boolean value that indicates whether a particular object type is supported by the provider. | |
SupportsObject(Guid, Type) | Indicates whether a given DDEX provider supports an object of the specified type, potentially a specialized version for the specified data source. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The DataProvider class provides basic information about a DDEX provider and methods for querying about or creating provider-implemented objects. This class is the bootstrapper for all DDEX provider-specific entities.
DDEX provides the single implementation of this class. This implementation is based on information read from the registry, and as such does not require that code implementing the provider be loaded.
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.