다음을 통해 공유


LocalReport.ReportPath 속성

로컬 보고서의 파일 시스템 경로를 가져오거나 설정합니다.

네임스페이스:  Microsoft.Reporting.WinForms
어셈블리:  Microsoft.ReportViewer.WinForms(Microsoft.ReportViewer.WinForms.dll)

구문

‘선언
Public Property ReportPath As String
    Get
    Set
‘사용 방법
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)

속성 값

유형: System.String
string 값

주의

ReportViewer 컨트롤이 필요한 모든 포함된 보고서를 파일 시스템에서 자동으로 로드하게 하려면 ReportPath 속성을 설정하십시오.

이 속성이 설정된 경우 ReportEmbeddedResource 속성 값이 무시됩니다. 또한 LoadReportDefinition을 사용하여 로드된 보고서도 무시됩니다.

참고 항목

참조

LocalReport 클래스

Microsoft.Reporting.WinForms 네임스페이스