DataSourceDefinition.ImpersonateUser 属性

Indicates whether the report server attempts to impersonate a user by using stored credentials after a data processing extension has established an authenticated connection to a data source.

命名空间:  ReportService2005
程序集:  ReportService2005(在 ReportService2005.dll 中)

语法

声明
Public Property ImpersonateUser As Boolean 
    Get 
    Set
用法
Dim instance As DataSourceDefinition 
Dim value As Boolean 

value = instance.ImpersonateUser

instance.ImpersonateUser = value
public bool ImpersonateUser { get; set; }
public:
property bool ImpersonateUser {
    bool get ();
    void set (bool value);
}
member ImpersonateUser : bool with get, set
function get ImpersonateUser () : boolean 
function set ImpersonateUser (value : boolean)

属性值

类型:System.Boolean
A Boolean value.

注释

When set to true, a data extension attempts to impersonate the user authenticated to the report server at the data source after a connection has been established.

注意注意

ImpersonateUser is only support by the SQL Server data extension that ships with Report Server.

When set to false, the Report Server passes credentials to the data source.

Impersonation may only be performed when CredentialRetrieval is set to Store.

请参阅

参考

DataSourceDefinition 类

ReportService2005 命名空间