Sdílet prostřednictvím


DataSource.ImpersonateUser Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets a value that indicates whether to impersonate the user.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property ImpersonateUser As Boolean 
    Get 
    Set
'Usage
Dim instance As DataSource 
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)

Property Value

Type: System.Boolean
true if to impersonate the user; otherwise, false.

See Also

Reference

DataSource Class

Microsoft.ReportingServices.RdlObjectModel Namespace