ServerReport.Render 方法 (String, String, NameValueCollection, Stream, out String, out String)

Renders the report with optional URL access parameters.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

参数

  • format
    The format in which to render the report. This argument maps to a rendering extension. Supported formats include Microsoft Office Excel, PDF, and Image.
  • deviceInfo
    An XML string that contains the device-specific content that is required by the rendering extension specified in the format parameter. For more information about device information settings for specific output formats, see "Device Information Settings" in SQL Server Books Online.
  • urlAccessParameters
    URL access parameters to pass to the report server. For more information, see the URL Access documentation in SQL Server Books Online.

    This parameter may be set to null.

  • reportStream
    The stream into which the rendered report will be written.
  • mimeType
    [out] The MIME type of the rendered report.
  • fileNameExtension
    [out] The file name extension used for the output file.

另请参见

参考

ServerReport 类
ServerReport 成员
Microsoft.Reporting.WebForms 命名空间