ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.Data Namespace / DataProvidersFactory Class / GetFactory Method
The name of the data providers (SQL, CSV, etc...)

In This Topic
    GetFactory Method (DataProvidersFactory)
    In This Topic
    Returns the registered System.Data.Common.DbProviderFactory with a given name.
    Syntax
    'Declaration
     
    Public Overridable Function GetFactory( _
       ByVal name As String _
    ) As DbProviderFactory
    public virtual DbProviderFactory GetFactory( 
       string name
    )

    Parameters

    name
    The name of the data providers (SQL, CSV, etc...)

    Return Value

    A System.Data.Common.DbProviderFactory instance with a given name.
    Exceptions
    ExceptionDescription
    Thrown if the name is not specified.
    See Also