LocalReport.ReportPath Propiedad

Obtiene o establece la ruta de acceso al sistema de archivos local del informe local.

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

Sintaxis

'Declaración
Public Property ReportPath As String
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: System.String
Un valor string.

Comentarios

Al establecer la propiedad ReportPath, el control ReportViewer cargará de forma automática todos los subinformes necesarios del sistema de archivos.

El establecimiento de esta propiedad provoca que el valor de la propiedad ReportEmbeddedResource se pase por alto. También hace que se ignore el informe cargado con LoadReportDefinition.

Vea también

Referencia

LocalReport Clase

Espacio de nombres Microsoft.Reporting.WebForms