Bagikan melalui


IDbConnectionExtension.Impersonate Property

Sets the username of the user that is impersonated while queries are executed. This property is ignored by the report server if impersonation is not supported by the data provider.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
WriteOnly Property Impersonate As String 
    Set
'Usage
Dim instance As IDbConnectionExtension 
Dim value As String

instance.Impersonate = value
string Impersonate { set; }
property String^ Impersonate {
    void set (String^ value);
}
abstract Impersonate : string with get, set
function set Impersonate (value : String)

Property Value

Type: System.String
The username of the user that is impersonated while queries are executed.

See Also

Reference

IDbConnectionExtension Interface

Microsoft.ReportingServices.DataProcessing Namespace