Condividi tramite


Proprietà DataSourceCredentials.UserName

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Gets or sets the user name of the data source.

Spazio dei nomi  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Sintassi

'Dichiarazione
Public Property UserName As String 
    Get 
    Set
'Utilizzo
Dim instance As DataSourceCredentials 
Dim value As String 

value = instance.UserName

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

Valore proprietà

Tipo: System.String
The user name of the data source.

Vedere anche

Riferimento

DataSourceCredentials Classe

Spazio dei nomi Microsoft.ReportingServices.RdlObjectModel