Share via


Proprietà DataSourceCredentials.Name

Recupera o imposta il nome utente che l'origine dati deve utilizzare per la connessione a un server di rapporti.

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

Sintassi

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

value = instance.Name

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

Valore proprietà

Tipo: System.String
Valore stringa.

Vedere anche

Riferimento

DataSourceCredentials Classe

Spazio dei nomi Microsoft.Reporting.WebForms