Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Reporting Services
Development
Developer's Guide
URL Access
 Using the Command Parameter
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (October 2009)
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(en-us,SQL.100).gifNote:
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.

http://<Server Name>/reportserver?/SampleReports&rs:Command=ListChildren

Other Resources

URL Access

Help and Information

Getting SQL Server 2008 Assistance
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker