DataSourceCredentials Class
Represents data source credentials.
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (in ReportExecution2005.dll)
The DataSourceCredentials type exposes the following members.
| Name | Description | |
|---|---|---|
|
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
| Name | Description | |
|---|---|---|
|
DataSourceName | Gets or sets the name of the data source to which to pass credentials. String. |
|
Password | Gets or sets the password that the report server uses to connect to an external data source. |
|
UserName | Gets or sets the user name that the report server uses to connect to an external data source. |
Use the DataSourceCredentials class with the SetExecutionCredentials or SetExecutionCredentials2 method to pass credentials to an external data source.