DataSourceDefinition.WindowsCredentials 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示报表服务器在连接到数据源时,是否将用户提供的凭据或存储的凭据作为 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
。
注解
当 设置为 true
时WindowsCredentials,在连接到数据源时,提交的凭据将被视为 Windows 凭据。
报表服务器在连接到数据源之前模拟用户。
当属性设置为 Prompt
或 Store
时,CredentialRetrieval此属性有效。 如果将 CredentialRetrieval 设置为 Integrated
,则忽略此属性。