ReportObject.UpgradeRDL 方法 (Stream, Boolean)

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Upgrades the report definition language of the report object.

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Shared Function UpgradeRDL ( _
    stream As Stream, _
    throwUpgradeException As Boolean _
) As Stream
用法
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

参数

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

返回值

类型:System.IO.Stream
A Stream object.

请参阅

参考

ReportObject 类

UpgradeRDL 重载

Microsoft.ReportingServices.RdlObjectModel 命名空间