Udostępnij za pośrednictwem


ReportObject.UpgradeRDL Method (XmlReader, String, Boolean, 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 ( _
    rdlReader As XmlReader, _
    namespaceURI As String, _
    throwUpgradeException As Boolean, _
    upgradeDundasCRIToNative As Boolean _
) As Stream
'Usage
Dim rdlReader As XmlReader 
Dim namespaceURI As String 
Dim throwUpgradeException As Boolean 
Dim upgradeDundasCRIToNative As Boolean 
Dim returnValue As Stream 

returnValue = ReportObject.UpgradeRDL(rdlReader, _
    namespaceURI, throwUpgradeException, _
    upgradeDundasCRIToNative)
public static Stream UpgradeRDL(
    XmlReader rdlReader,
    string namespaceURI,
    bool throwUpgradeException,
    bool upgradeDundasCRIToNative
)
public:
static Stream^ UpgradeRDL(
    XmlReader^ rdlReader, 
    String^ namespaceURI, 
    bool throwUpgradeException, 
    bool upgradeDundasCRIToNative
)
static member UpgradeRDL : 
        rdlReader:XmlReader * 
        namespaceURI:string * 
        throwUpgradeException:bool * 
        upgradeDundasCRIToNative:bool -> Stream
public static function UpgradeRDL(
    rdlReader : XmlReader, 
    namespaceURI : String, 
    throwUpgradeException : boolean, 
    upgradeDundasCRIToNative : boolean
) : Stream

Parameters

  • namespaceURI
    Type: System.String
    The namespace URI for the reader.
  • throwUpgradeException
    Type: System.Boolean
    Whether to throw exceptions on errors.
  • upgradeDundasCRIToNative
    Type: System.Boolean
    Whether to upgrade Dundas custom report items to native RDL elements.

Return Value

Type: System.IO.Stream
A Stream object.

See Also

Reference

ReportObject Class

UpgradeRDL Overload

Microsoft.ReportingServices.RdlObjectModel Namespace