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")]
[System.Serializable]
public 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")>]
[<System.Serializable>]
type DataSourceCredentials = class
Public Class DataSourceCredentials
Inheritance
DataSourceCredentials
Attributes

Remarks

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

Constructors

DataSourceCredentials()

Initializes a new instance of the DataSourceCredentials class.

Properties

DataSourceName

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

Password

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

UserName

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

Applies to