Represents data source credentials.
继承层次结构
System.Object
ReportExecution2005.DataSourceCredentials
命名空间: ReportExecution2005
程序集: ReportExecution2005(在 ReportExecution2005.dll 中)
语法
声明
Public Class DataSourceCredentials
用法
Dim instance As DataSourceCredentials
public class DataSourceCredentials
public ref class DataSourceCredentials
type DataSourceCredentials = class end
public class DataSourceCredentials
DataSourceCredentials 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
DataSourceCredentials | Initializes a new instance of the DataSourceCredentials class. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
DataSourceName | Gets or sets the name of the data source to which to pass credentials. String. |
![]() |
Password | Gets or sets the password that the report server uses to connect to an external data source. |
![]() |
UserName | Gets or sets the user name that the report server uses to connect to an external data source. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
ToString | (从 Object 继承。) |
页首
注释
Use the DataSourceCredentials class with the SetExecutionCredentials or SetExecutionCredentials2 method to pass credentials to an external data source.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。