DataSourceDefinition.CredentialRetrieval Property

Definition

获取或设置一个值,该值指示报表服务器检索数据源凭据的方法。Gets or sets a value that indicates the way in which the report server retrieves data source credentials.

public:
 property ReportService2010::CredentialRetrievalEnum CredentialRetrieval { ReportService2010::CredentialRetrievalEnum get(); void set(ReportService2010::CredentialRetrievalEnum value); };
public ReportService2010.CredentialRetrievalEnum CredentialRetrieval { get; set; }
member this.CredentialRetrieval : ReportService2010.CredentialRetrievalEnum with get, set
Public Property CredentialRetrieval As CredentialRetrievalEnum

Property Value

CredentialRetrievalEnum

一个 CredentialRetrievalEnum 值,该值指示报表服务器检索数据源凭据的方法。A CredentialRetrievalEnum value which indicates the way in which the report server retrieves data source credentials.

Remarks

CredentialRetrieval当 Report Server 连接到外部数据源时,可以使用属性来指定检索将使用的凭据的位置。You can use the CredentialRetrieval property to specify where to retrieve the credentials that will be used by the when the report server connects to an external data source.

此属性有四种可能的设置:There are four possible settings for this property:

  • None –与数据源的连接不需要连接。None – The connection to the data source does not require connections.

  • Prompt -Report Server 需要提供凭据。Prompt - The report server requires that credentials be supplied. 如果未提供凭据,则不会生成报表,并引发异常。If credentials are not supplied, the report is not generated and an exception is raised.

  • Integrated-Report Server 使用通过 Report Server 身份验证的用户的凭据。Integrated- The report server uses the credentials of the user authenticated to the report server. 将忽略提供的任何其他数据源凭据。Any other data source credentials that are supplied are ignored.

  • Store –凭据安全地存储在 Report Server 数据库中。Store – The credentials are stored securely in the report server database.

Report Server 有多个功能需要凭据检索选项,才能 Store None 成功执行。There are several features of the report server that require the credential retrieval option to be either Store or None in order to successfully execute. 其中包括基于计划的功能,如报表执行快照生成、报表历史记录生成和订阅。These include schedule-based features such report execution snapshot generation, report history generation, and subscriptions.

当凭据和连接字符串存储在 Report Server 数据库中时,将对其进行加密。When credentials and the connection string are stored in the report server database, they are encrypted.

Applies to