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

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

注解

如果 WindowsCredentials 设置为 true ,则当 Report Server 连接到数据源时,提交的凭据将作为 Windows 凭据处理。

Report Server 在与数据源建立连接之前模拟用户。

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

适用于