다음을 통해 공유


CredentialRetrieval 속성

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

네임스페이스:  ReportService2006
어셈블리:  ReportService2006.dll의 ReportService2006

구문

‘선언
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)

속성 값

형식: ReportService2006. . :: . .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.