Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains configuration settings for an ADO.NET 2.0 provider factory.
Syntax
class ProviderFactoryElement : CollectionElement  
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the ProviderFactoryElement class.
| Name | Description | 
|---|---|
| Description | A read/write stringvalue that contains the verbose name of the data provider specified in theNameandInvariantproperties (for example, ".NET Framework Data Provider for ODBC"). | 
| Invariant | A read/write stringvalue that contains the invariant name of the provider that is specified in theDescriptionandNameproperties (for example, "System.Data.Odbc"). The invariant name can be passed to the System.Data.Common.DBProviderFactories.GetFactory method to obtain a System.Data.Common.DBProviderFactory object for the provider. | 
| Name | A required unique read/write stringvalue that contains the name of a data provider (for example, "ODBC Data Provider"). The key property. | 
| Type | A read/write stringvalue that specifies the type for the provider specified in theName,Description, andInvariantproperties (for example, "System.Data.Odbc.OdbcFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"). | 
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the DbProviderFactories array property of the DbProviderFactorySettings class.
Inheritance Hierarchy
ProviderFactoryElement
Requirements
| Type | Description | 
|---|---|
| Client | -   IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 | 
| Server | -   IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 | 
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 | 
| MOF file | WebAdministration.mof | 
See Also
CollectionElement Class
DbProviderFactorySettings Class
SystemDataSection Class
ADO.NET 2.0 Feature Matrix