ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.ReportsCore.Data.DataProviders Namespace / DataProviderFactories Class / GetFactory Method
The name, as configured for the desired data provider.

In This Topic
    GetFactory Method (DataProviderFactories)
    In This Topic
    Returns an instance of the specified data provider.
    Syntax
    'Declaration
     
    Public Shared Function GetFactory( _
       ByVal providerName As String, _
       ByVal dataProviders() As DataProviderInfo, _
       Optional ByVal resourceLocator As ResourceLocator _
    ) As DbProviderFactory

    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.
    See Also