DataSourceDefinition.CredentialRetrieval Property

Indicates the way in which the report server retrieves data source credentials.

命名空間: Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005
組件: ReportService2005 (in reportingservice2005.dll)

語法

'宣告
Public Property CredentialRetrieval As CredentialRetrievalEnum
public CredentialRetrievalEnum CredentialRetrieval { get; set; }
public:
property CredentialRetrievalEnum CredentialRetrieval {
    CredentialRetrievalEnum get ();
    void set (CredentialRetrievalEnum value);
}
/** @property */
public CredentialRetrievalEnum get_CredentialRetrieval ()

/** @property */
public void set_CredentialRetrieval (CredentialRetrievalEnum value)
public function get CredentialRetrieval () : CredentialRetrievalEnum

public function set CredentialRetrieval (value : 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 that credentials be supplied. 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. Note   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.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

DataSourceDefinition Class
DataSourceDefinition Members
Microsoft.WSSUX.ReportingServicesWebService.RSManagementService2005 Namespace

其他資源

Report Server System Properties
Reporting Services 組態檔