DataSourceCredentials Class
SQL Server 2012
Represents data source credentials.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.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. |
![]() | Password | Gets or sets the password to use when connecting to a data source. |
![]() | UserName | Gets or sets the user name that the report server uses to connect to a data source. |
Use the DataSourceCredentials class with the Render method to pass credentials to an external data source.

