Proprietà DataSourceCredentials.UserId

Recupera o imposta l'ID utente che l'origine dati deve utilizzare per la connessione al server di rapporti.

Spazio dei nomi  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Sintassi

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

value = instance.UserId

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

Valore proprietà

Tipo: System.String
Valore string contenente l'ID utente.

Vedere anche

Riferimento

DataSourceCredentials Classe

Spazio dei nomi Microsoft.Reporting.WinForms