ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.Data Namespace / IDbConnectionAdapter Interface / SetCredentials Method
The connection to set the credentials for.
The pair of user login name and password.

In This Topic
    SetCredentials Method (IDbConnectionAdapter)
    In This Topic
    Sets the user login and password for the specified connection.
    Syntax
    'Declaration
     
    Sub SetCredentials( _
       ByVal connection As DbConnection, _
       ByVal credentials As LoginPasswordCredentials _
    ) 
    void SetCredentials( 
       DbConnection connection,
       LoginPasswordCredentials credentials
    )

    Parameters

    connection
    The connection to set the credentials for.
    credentials
    The pair of user login name and password.
    See Also