DataSourceCredentials DataSourceCredentials DataSourceCredentials Class

Definition

Represents data source credentials.

public ref class DataSourceCredentials
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
public class DataSourceCredentials
Public Class DataSourceCredentials
Inheritance
DataSourceCredentialsDataSourceCredentialsDataSourceCredentials
Attributes

Remarks

Use the DataSourceCredentials class together with the GetReportParameters method to pass credentials to an external data source.

Constructors

DataSourceCredentials() DataSourceCredentials() DataSourceCredentials()

Initializes a new instance of the DataSourceCredentials class.

Properties

DataSourceName DataSourceName DataSourceName

Sets the name of the data source to which to pass credentials.

Password Password Password

Sets the password the report server uses to connect to a data source.

UserName UserName UserName

Gets or sets the user name the report server uses to connect to a data source.

Applies to