DataSourceCredentials Class

Definition

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

public ref class DataSourceCredentials
public class DataSourceCredentials
type DataSourceCredentials = class
Public Class DataSourceCredentials
Inheritance
DataSourceCredentials

Remarks

使用 DataSourceCredentials 带有 SetExecutionCredentials 或方法的类 SetExecutionCredentials2 将凭据传递到外部数据源。Use the DataSourceCredentials class with the SetExecutionCredentials or SetExecutionCredentials2 method to pass credentials to an external data source.

Constructors

DataSourceCredentials()

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

Properties

DataSourceName

获取或设置凭据将传递至的数据源的名称。Gets or sets the name of the data source to which to pass credentials. String.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.

Applies to