Freigeben über


LocalReport.ReportPath-Eigenschaft

Ruft den Dateisystempfad des lokalen Berichts ab bzw. legt diesen fest.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

'Declaration
Public Property ReportPath As String
    Get
    Set
'Usage
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)

Eigenschaftswert

Typ: System.String
Ein string-Wert.

Hinweise

Legen Sie die ReportPath-Eigenschaft so fest, dass das ReportViewer-Steuerelement automatisch alle erforderlichen Unterberichte aus dem Dateisystem lädt.

Wenn diese Eigenschaft festgelegt ist, wird der Wert der ReportEmbeddedResource-Eigenschaft ignoriert. Außerdem wird der mit LoadReportDefinition geladene Bericht ignoriert.

Siehe auch

Verweis

LocalReport Klasse

Microsoft.Reporting.WinForms-Namespace