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

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

    Parameters

    name
    The name of the data providers (SQL, CSV, etc...) to lookup adapter for.

    Return Value

    A IDbConnectionAdapter instance with a given name.
    Exceptions
    ExceptionDescription
    Thrown if the name is not specified.
    See Also