DataSourceCredentials 类
Represents data source credentials.
继承层次结构
System.Object
ReportService2005.DataSourceCredentials
命名空间: ReportService2005
程序集: ReportService2005(在 ReportService2005.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. | |
Password | Gets or sets the password to use when connecting to a data source. | |
UserName | Gets or sets the user name that 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 with the Render method to pass credentials to an external data source.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。