DataSourceDefinition.WindowsCredentials DataSourceDefinition.WindowsCredentials DataSourceDefinition.WindowsCredentials Property

定义

获取或设置一个值,该值指示报表服务器在连接到数据源时,是否将用户提供的凭据或存储的凭据作为 Windows 凭据传递。 Gets or sets a value that indicates whether the report server passes user-provided or stored credentials as Windows credentials when it connects to a data source.

public:
 property bool WindowsCredentials { bool get(); void set(bool value); };
public bool WindowsCredentials { get; set; }
Public Property WindowsCredentials As Boolean

属性值

true 如果报表服务器通过提供用户或连接到数据源,则时用作 Windows 凭据存储凭据否则为false true if the report server passes user-provided or stored credentials as Windows credentials when it connects to a data source; otherwise, false. 默认值为 false The default is false.

注解

WindowsCredentials设置为true,当报表服务器连接到数据源时用作 Windows 凭据处理提交的凭据。When WindowsCredentials is set to true, the submitted credentials are processed as Windows credentials when the report server connects to a data source.

它使到数据源的连接之前,报表服务器将模拟用户。The report server impersonates the user before it makes the connection to the data source.

当此属性才有效CredentialRetrieval属性设置为PromptStoreThis property is valid when the CredentialRetrieval property is set to Prompt or Store. 如果忽略此属性CredentialRetrieval设置为IntegratedThis property is ignored if CredentialRetrieval is set to Integrated.

适用于