DataSourceDefinition.CredentialRetrieval Property

Gets or sets a value that indicates the way in which the report server retrieves data source credentials.

命名空间: ReportService2006
程序集: ReportService2006 (in reportservice2006.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 will be used by the when the report server connects to an external data source.

There are four possible settings for this property:

  • None – The connection to the data source does not require connections.

  • 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 uses the credentials of the user authenticated to the report server. Any other data source credentials that are supplied are ignored.

  • Store – The credentials are stored securely in the report server database.

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.

线程安全

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 的硬件和软件要求。

目标平台

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, 有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。, Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0

请参阅

参考

DataSourceDefinition Class
DataSourceDefinition Members
ReportService2006 Namespace