Represents data source credentials.
继承层次结构
System.Object
ReportService2010.DataSourceCredentials
命名空间: ReportService2010
程序集: ReportService2010(在 ReportService2010.dll 中)
语法
声明
<SerializableAttribute> _
Public Class DataSourceCredentials
用法
Dim instance As DataSourceCredentials
[SerializableAttribute]
public class DataSourceCredentials
[SerializableAttribute]
public ref class DataSourceCredentials
[<SerializableAttribute>]
type DataSourceCredentials = class end
public class DataSourceCredentials
DataSourceCredentials 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
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. |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
Use the DataSourceCredentials class together with the GetReportParameters(String, String, Boolean, ParameterValue, DataSourceCredentials) method to pass credentials to an external data source.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)