使用 URL 存取匯出報表Export a Report Using URL Access

您可以使用rs: format參數,選擇性地指定用來轉譯報表的格式。You can optionally specify the format in which to render a report by using the rs:Format parameter. 例如,直接從原生模式報表伺服器取得報表的 PDF 副本。For example, to get a PDF copy of a report directly from a native mode report server:

http://myrshost/ReportServer?/myreport&rs:Format=PDF  

以及,從 SharePoint 整合模式報表伺服器:And, from a SharePoint integrated mode report server:

http://myspsite/subsite/_vti_bin/reportserver?http://myspsite/subsite/myrereport.rdl&rs:Format=PDF  

這個參數的有效值是以安裝在正在存取之報表伺服器上的報表轉譯延伸模組為基礎。Valid values for this parameter are based on the report rendering extensions that are installed on the report server being accessed. 常見的延伸模組為 HTML4.0、MHTML、IMAGE、EXCEL、WORD、CSV、PDF、XML 及 NULL。Common extensions are HTML4.0, MHTML, IMAGE, EXCEL, WORD, CSV, PDF, XML, and NULL. 如果報表伺服器上未安裝指定的轉譯延伸模組,則報表不會轉譯,且錯誤會產生並顯示在瀏覽器中。If a specified rendering extension is not installed on the report server, the report is not rendered and an error is generated and displayed in the browser.

如果您未將 Format 參數包含為 URL 的一部分,則報表伺服器會偵測瀏覽器,並以適當的 HTML 格式轉譯報表。If you do not include the Format parameter as part of the URL, the report server detects the browser and renders the report in the appropriate HTML format.

另請參閱See Also

URL 存取 (SSRS) URL Access (SSRS)
URL 存取參數參考URL Access Parameter Reference