共用方式為


Using the Command Parameter

You can include the rs:Command parameter in a URL. The value of the parameter determines the type of request made to the report server by the client. The following table describes values that are supported by the Command parameter.

Command value Description

GetDataSourceContents

Displays the properties of a given shared data source. The properties are displayed as XML.

GetResourceContents

Renders a resource and display it in an HTML page. Using this value equates to calling the Web service GetResourceContents method directly.

ListChildren

Displays children of the item passed to the URL. Child items are displayed within a generic item-navigation page. Using this value equates to calling the ListChildren method.

Render

Renders the specified report. Using this value equates to calling the Render method.

ms153683.note(zh-tw,SQL.90).gif附註:
A URL can contain only one Command parameter. If a URL includes multiple Command parameters, an error is returned. If the Command parameter is specified in a URL without an accompanying value, the Command parameter is ignored.

範例

The following example generates a generic item-navigation page that you can use to view all the child items of your Samples folder.

https://servername/reportserver?/SampleReports&rs:Command=ListChildren

請參閱

其他資源

URL Access

說明及資訊

取得 SQL Server 2005 協助