DataSourceCredentials Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.