Proprietà LocalReport.ReportPath

Recupera o imposta il percorso del rapporto locale nel file system locale.

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

Sintassi

'Dichiarazione
Public Property ReportPath As String
    Get
    Set
'Utilizzo
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

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

Valore proprietà

Tipo: System.String
Valore String.

Osservazioni

Se si imposta la proprietà ReportPath, il controllo ReportViewer caricherà automaticamente tutti i sottorapporti necessari dal file system.

Se si imposta questa proprietà, il valore della proprietà ReportEmbeddedResource viene ignorato. Anche il rapporto caricato con il metodo LoadReportDefinition verrà ignorato.

Vedere anche

Riferimento

LocalReport Classe

Spazio dei nomi Microsoft.Reporting.WebForms