Partager via


Propriété DataSource.ImpersonateUser

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Property ImpersonateUser As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

DataSource Classe

Espace de noms Microsoft.ReportingServices.RdlObjectModel