Report.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads a Report object from a report definition.
Overloads
Load(String) |
Loads a Report object from a report definition. |
Load(Stream) |
Loads a Report object from a report definition. |
Load(Byte[]) |
Loads a Report object from a report definition. |
Load(String)
Loads a Report object from a report definition.
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(System::String ^ path);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load (string path);
static member Load : string -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (path As String) As Report
Parameters
- path
- String
The absolute path of the report definition file.
Returns
A loaded Report object.
Applies to
Load(Stream)
Loads a Report object from a report definition.
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(System::IO::Stream ^ stream);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load (System.IO.Stream stream);
static member Load : System.IO.Stream -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (stream As Stream) As Report
Parameters
- stream
- Stream
The stream that contains the report definition.
Returns
A loaded Report object.
Applies to
Load(Byte[])
Loads a Report object from a report definition.
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(cli::array <System::Byte> ^ bytes);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load (byte[] bytes);
static member Load : byte[] -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (bytes As Byte()) As Report
Parameters
- bytes
- Byte[]
The report definition data.
Returns
A loaded Report object.