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

属性值

一个 Boolean 值。 默认值是 false

注解

当 设置为 trueWindowsCredentials,在连接到数据源时,提交的凭据将被视为 Windows 凭据。

报表服务器在连接到数据源之前模拟用户。

当属性设置为 PromptStore时,CredentialRetrieval此属性有效。 如果将 CredentialRetrieval 设置为 Integrated,则忽略此属性。

适用于