[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.DbDataSource.SetCredentials

SetCredentials Method

SetCredentials(string, string)

Returns a connection string with the specified credentials applied.

Declaration
public virtual string SetCredentials(string userName, string password)
Parameters
Type Name Description
string userName

The user name to embed in the connection string.

string password

The password to embed in the connection string.

Returns
Type Description
string

The modified connection string with credentials, or the original if not applicable.

Implements