'Declaration Public Shared Function GetFactory( _ ByVal providerName As String, _ ByVal dataProviders() As DataProviderInfo, _ Optional ByVal resourceLocator As ResourceLocator _ ) As DbProviderFactory
public static DbProviderFactory GetFactory( string providerName, DataProviderInfo[] dataProviders, ResourceLocator resourceLocator )
Parameters
- providerName
- The name, as configured for the desired data provider.
- dataProviders
- resourceLocator
Return Value
The System.Data.Common.DbProviderFactory associated with the the specified data provider name or NULL if it is not configured or it cannot be initialized.