Partager via


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(fr-fr,SQL.90).gifRemarque :
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.

Exemple

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

Voir aussi

Autres ressources

URL Access

Aide et Informations

Assistance sur SQL Server 2005