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 | |
---|---|---|
DataSourceCredentials() | Constructs a DataSourceCredentials object. |
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the user name to be used by the data source for connecting to a report server. |
|
Password | Gets or sets the password to be used by the data source for connecting to the report server. |
|
UserId | Gets or sets the user identification to be used by the data source for connecting to the report server. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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