DataSourceCredentials DataSourceCredentials DataSourceCredentials DataSourceCredentials Class

定义

表示数据源凭据。Represents data source credentials.

public ref class DataSourceCredentials
public class DataSourceCredentials
type DataSourceCredentials = class
Public Class DataSourceCredentials
继承
DataSourceCredentialsDataSourceCredentialsDataSourceCredentialsDataSourceCredentials

注解

DataSourceCredentials将类GetReportParameters与方法一起使用以将凭据传递到外部数据源。Use the DataSourceCredentials class together with the GetReportParameters method to pass credentials to an external data source.

构造函数

DataSourceCredentials() DataSourceCredentials() DataSourceCredentials() DataSourceCredentials()

初始化 DataSourceCredentials 类的新实例。Initializes a new instance of the DataSourceCredentials class.

属性

DataSourceName DataSourceName DataSourceName DataSourceName

设置要将凭据传递到的数据源的名称。Sets the name of the data source to which to pass credentials.

Password Password Password Password

设置 Report Server 用来连接数据源的密码。Sets the password the report server uses to connect to a data source.

UserName UserName UserName UserName

获取或设置 Report Server 用于连接到数据源的用户名。Gets or sets the user name the report server uses to connect to a data source.

适用于