Share via


ReportObject.UpgradeRDL Method (Stream, Boolean)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Upgrades the report definition language of the report object.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Shared Function UpgradeRDL ( _
    stream As Stream, _
    throwUpgradeException As Boolean _
) As Stream
'Usage
Dim stream As Stream 
Dim throwUpgradeException As Boolean 
Dim returnValue As Stream 

returnValue = ReportObject.UpgradeRDL(stream, _
    throwUpgradeException)
public static Stream UpgradeRDL(
    Stream stream,
    bool throwUpgradeException
)
public:
static Stream^ UpgradeRDL(
    Stream^ stream, 
    bool throwUpgradeException
)
static member UpgradeRDL : 
        stream:Stream * 
        throwUpgradeException:bool -> Stream
public static function UpgradeRDL(
    stream : Stream, 
    throwUpgradeException : boolean
) : Stream

Parameters

  • throwUpgradeException
    Type: System.Boolean
    Whether to throw exceptions on errors.

Return Value

Type: System.IO.Stream
A Stream object.

See Also

Reference

ReportObject Class

UpgradeRDL Overload

Microsoft.ReportingServices.RdlObjectModel Namespace