IDataSourceProvider Interface
Definition
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.
An object that can provide a data source.
public interface IDataSourceProvider
type IDataSourceProvider = interface
Public Interface IDataSourceProvider
- Derived
Remarks
This is useful for situations where the lack of multiple inheritance makes it difficult to directly implement IDataSource in the object, but instead can lead to the correct data source that's managed externally.
Methods
| Name | Description |
|---|---|
| GetDataSource(String) |
Get a datasource for a specific data source type, or null to return 1st or only data source. |
| GetDataSourceTypes() |
Get an array of data source types that can be provided by this provider |