DataSourceCredentials Constructors

Definition

Initializes a new instance of the DataSourceCredentials class.

Overloads

DataSourceCredentials()

Initializes a new instance of the DataSourceCredentials class.

DataSourceCredentials(String, String)

Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

DataSourceCredentials()

Initializes a new instance of the DataSourceCredentials class.

public:
 DataSourceCredentials();
public DataSourceCredentials ();
Public Sub New ()

Applies to

DataSourceCredentials(String, String)

Initializes a new instance of the DataSourceCredentials class using the specified user name and password.

public:
 DataSourceCredentials(System::String ^ userName, System::String ^ password);
public DataSourceCredentials (string userName, string password);
new Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials : string * string -> Microsoft.ReportingServices.RdlObjectModel.DataSourceCredentials
Public Sub New (userName As String, password As String)

Parameters

userName
String

The user name.

password
String

The password.

Applies to