DataSourceDefinition.CredentialRetrieval DataSourceDefinition.CredentialRetrieval DataSourceDefinition.CredentialRetrieval Property

定义

获取或设置一个值,该值指示报表服务器检索数据源凭据的方法。 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; }
Public Property CredentialRetrieval As CredentialRetrievalEnum
属性值

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

注解

你可以使用CredentialRetrieval属性来指定要从中检索将使用的凭据时由报表服务器连接到外部数据源。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 报表服务器需要提供凭据。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报表服务器使用到报表服务器身份验证的用户的凭据。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 – 凭据安全地存储在报表服务器数据库。Store – The credentials are stored securely in the report server database.

    有几个报表服务器的功能,它们需要的凭据检索选项,可以是以下之一StoreNone才能成功执行。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.

    如果报表服务器数据库中存储凭据和连接字符串,则会对它们进行加密。When credentials and the connection string are stored in the report server database, they are encrypted.

适用于