Compartir a través de


LocalReport.ReportEmbeddedResource (Propiedad)

Obtiene o establece el nombre del recurso incrustado del informe.

Espacio de nombres:  Microsoft.Reporting.WebForms
Ensamblado:  Microsoft.ReportViewer.WebForms (en Microsoft.ReportViewer.WebForms.dll)

Sintaxis

'Declaración
<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")> _
Public Property ReportEmbeddedResource As String
[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public string ReportEmbeddedResource { get; set; }
[TypeConverterAttribute(L"Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public:
property String^ ReportEmbeddedResource {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
member ReportEmbeddedResource : string with get, set
function get ReportEmbeddedResource () : String
function set ReportEmbeddedResource (value : String)

Valor de propiedad

Tipo: String
Cadena que contiene el nombre del recurso incrustado.

Comentarios

Setting the ReportEmbeddedResource property will cause the ReportViewer control to automatically load any required subreports from an embedded resource.

An embedded report resource is a report definition that has been stored as a resource in the calling assembly.

If the ReportPath property has been set, the ReportEmbeddedResource property is ignored. It also causes the report loaded with LoadReportDefinition to be ignored.

Vea también

Referencia

LocalReport Clase

Microsoft.Reporting.WebForms (Espacio de nombres)