语言

DataSourceDefinition.WindowsCredentials 属性

定义

获取或设置一个值,指示报告服务器在连接数据源时是否将用户提供的或存储的凭证传递为 Windows 凭证。

public:
 property bool WindowsCredentials { bool get(); void set(bool value); };
public bool WindowsCredentials { get; set; }
member this.WindowsCredentials : bool with get, set
Public Property WindowsCredentials As Boolean

属性值

true如果报告服务器在连接数据源时将用户提供的或存储的凭证传递为 Windows 凭证;否则,。 false 默认值为 false。

注解

当 WindowsCredentials 设置为 true时,提交的凭据在报告服务器连接到数据源时作为 Windows 凭证处理。

报告服务器在与数据源连接之前会冒充用户。

当该 CredentialRetrieval 属性被设置为 Prompt 或 Store时,该性质有效。 如果 CredentialRetrieval 设置为 Integrated,则忽略此属性。

适用于