DataSourceCredentials 类

Represents data source credentials.

System.Object
  ReportService2010.DataSourceCredentials

命名空间:  ReportService2010
程序集:  ReportService2010(在 ReportService2010.dll 中)

[SerializableAttribute]
public class DataSourceCredentials

DataSourceCredentials 类型公开以下成员。

  名称说明
公共方法DataSourceCredentialsInitializes a new instance of the DataSourceCredentials class.
页首

  名称说明
公共属性DataSourceNameSets the name of the data source to which to pass credentials.
公共属性PasswordSets the password the report server uses to connect to a data source.
公共属性UserNameSets 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

社区附加资源

添加
显示: