[]
        
Returns an instance of the specified data provider.
public static DbProviderFactory GetFactory(string providerName, DataProviderInfo[] dataProviders, ResourceLocator resourceLocator = null)
| Type | Name | Description | 
|---|---|---|
| string | providerName | The name, as configured for the desired data provider.  | 
    
| DataProviderInfo[] | dataProviders | |
| ResourceLocator | resourceLocator | 
| Type | Description | 
|---|---|
| DbProviderFactory | The DbProviderFactory associated with the specified data provider name or NULL if it is not configured or it cannot be initialized.  |