DataSourceCredentials Class

 

Represents data source credentials.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Reporting.WinForms.DataSourceCredentials

Syntax

public sealed class DataSourceCredentials
public ref class DataSourceCredentials sealed 
[<Sealed>]
type DataSourceCredentials = class end
Public NotInheritable Class DataSourceCredentials

Constructors

Name Description
System_CAPS_pubmethod DataSourceCredentials()

Constructs a DataSourceCredentials object.

Properties

Name Description
System_CAPS_pubproperty Name

Gets or sets the user name to be used by the data source for connecting to a report server.

System_CAPS_pubproperty Password

Gets or sets the password to be used by the data source for connecting to the report server.

System_CAPS_pubproperty UserId

Gets or sets the user identification to be used by the data source for connecting to the report server.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class is used to provide credentials for data sources used by server reports and is passed as an argument to the M:Microsoft.Reporting.WinForms.ServerReport.SetDataSourceCredentials(Microsoft.Reporting.WinForms.DataSourceCredentials[]) method of the ServerReport class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Reporting.WinForms Namespace

Return to top