ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.DataProcessing Namespace / CommonDbConnectionAdapter Class / SetCredentials Method
Database connection.
Username.
Password.

In This Topic
    SetCredentials Method (CommonDbConnectionAdapter)
    In This Topic
    Set credentials to the database connection.
    Syntax
    'Declaration
     
    Public Sub SetCredentials( _
       ByVal connection As DbConnection, _
       ByVal userName As String, _
       ByVal password As String _
    ) 
    public void SetCredentials( 
       DbConnection connection,
       string userName,
       string password
    )

    Parameters

    connection
    Database connection.
    userName
    Username.
    password
    Password.
    See Also