LocalReport.ReportEmbeddedResource 속성

보고서 포함 리소스의 이름을 가져오거나 설정합니다.

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

구문

‘선언
<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> _
Public Property ReportEmbeddedResource As String
    Get
    Set
‘사용 방법
Dim instance As LocalReport
Dim value As String

value = instance.ReportEmbeddedResource

instance.ReportEmbeddedResource = value
[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string ReportEmbeddedResource { get; set; }
[TypeConverterAttribute(L"Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public:
property String^ ReportEmbeddedResource {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>]
member ReportEmbeddedResource : string with get, set
function get ReportEmbeddedResource () : String
function set ReportEmbeddedResource (value : String)

속성 값

유형: System.String
포함 리소스의 이름을 포함하는 String

주의

ReportEmbeddedResource 속성을 설정하면 ReportViewer 컨트롤이 필요한 모든 포함된 보고서를 포함 리소스에서 자동으로 로드합니다.

포함 보고서 리소스는 호출 어셈블리에 리소스로 저장된 보고서 정의입니다.

ReportPath 속성이 설정되었으면 ReportEmbeddedResource 속성이 무시됩니다. 또한 LoadReportDefinition을 사용하여 로드된 보고서도 무시됩니다.

참고 항목

참조

LocalReport 클래스

Microsoft.Reporting.WebForms 네임스페이스