ReportExecutionService.Sort Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Applies or removes a sort for the execution based on a user sort action.
Syntax
'Declaration
Public Function Sort ( _
SortItem As String, _
Direction As SortDirectionEnum, _
Clear As Boolean, _
ByRef ReportItem As String, _
ByRef NumPages As Integer _
) As Integer
public int Sort (
string SortItem,
SortDirectionEnum Direction,
bool Clear,
out string ReportItem,
out int NumPages
)
public:
int Sort (
String^ SortItem,
SortDirectionEnum Direction,
bool Clear,
String^% ReportItem,
int% NumPages
)
public int Sort (
String SortItem,
SortDirectionEnum Direction,
boolean Clear,
/** @attribute */ /** @ref */ String ReportItem,
/** @attribute */ /** @ref */ int NumPages
)
JScript does not support passing value-type arguments by reference.
Parameters
- SortItem
The ID of the report item on which to sort.
- Direction
A SortDirectionEnum value containing the direction for the sort. The default value is None.
- Clear
A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
- ReportItem
[out] The ID of the item on the page used for positioning in the viewing area.
- NumPages
[out] The new total number of pages in the report.
Return Value
An integer value containing the new page number on which the item passed in the ReportItem parameter falls.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
See Also
Reference
ReportExecutionService Class
ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace