DataSourceCredentials Class
Represents data source credentials.
Inheritance Hierarchy
System.Object
ReportService2010.DataSourceCredentials
Namespace: ReportService2010
Assembly: ReportService2010 (in ReportService2010.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class DataSourceCredentials
'Usage
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials = class end
public class DataSourceCredentials
The DataSourceCredentials type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
Top
Properties
Name | Description | |
---|---|---|
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 | Sets the user name the report server uses to connect to a data source. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, array<ParameterValue[], array<DataSourceCredentials[]) method to pass credentials to an external data source.
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.