Поделиться через


Свойство DataSourceDefinition.CredentialRetrieval

Indicates the way in which the Report Server retrieves data source credentials.

Пространство имен:  ReportService2005
Сборка:  ReportService2005 (в ReportService2005.dll)

Синтаксис

'Декларация
Public Property CredentialRetrieval As CredentialRetrievalEnum 
    Get 
    Set
'Применение
Dim instance As DataSourceDefinition 
Dim value As CredentialRetrievalEnum 

value = instance.CredentialRetrieval

instance.CredentialRetrieval = value
public CredentialRetrievalEnum CredentialRetrieval { get; set; }
public:
property CredentialRetrievalEnum CredentialRetrieval {
    CredentialRetrievalEnum get ();
    void set (CredentialRetrievalEnum value);
}
member CredentialRetrieval : CredentialRetrievalEnum with get, set
function get CredentialRetrieval () : CredentialRetrievalEnum 
function set CredentialRetrieval (value : CredentialRetrievalEnum)

Значение свойства

Тип: ReportService2005.CredentialRetrievalEnum
A CredentialRetrievalEnum value which indicates the way in which the report server retrieves data source credentials.

Замечания

You can use the CredentialRetrieval property to specify where to retrieve the credentials that are to be used by the Report Server when connecting to an external data source.

There are four possible settings for this property:

  • None – The connection to the data source does not require connections. This is the least secure method of connecting to an external data source and is not recommended. Note   The UnattendedExecutionAccount must be specified in the Файл конфигурации RSReportServer file.

  • Prompt - The report server requires credentials. If credentials are not supplied, the report is not generated and an exception is raised.

  • Integrated- The report server utilizes the credentials of the user authenticated to the report server. Any other data source credentials supplied are ignored.

    ПримечаниеПримечание

    If the EnableIntegratedSecurity system property is set to false, setting CredentialRetrieval property to Integrated will cause an exception to be thrown when the server attempts to retrieve data source credentials.

  • Store – The credentials are stored securely in the Report Server database.

There are a number of 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.

См. также

Справочник

DataSourceDefinition Класс

Пространство имен ReportService2005

Другие ресурсы

Системные свойства сервера отчетов

Файлы конфигурации (службы Reporting Services)