Freigeben über


IDbConnectionExtension.UserName-Eigenschaft

Gets or sets the username to use when connecting to the database. Overrides any username specified in the connection string.

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

Syntax

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

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

Eigenschaftswert

Typ: System.String
The user name to use when authenticating the client.

Hinweise

You can set the username and Password in order to specify alternate credentials with which to access the data source.

Siehe auch

Verweis

IDbConnectionExtension Schnittstelle

Microsoft.ReportingServices.DataProcessing-Namespace