Поделиться через


Метод ReportExecutionService.Sort2

Applies or removes a sort for the execution based on a user sort action.

Пространство имен:  ReportExecution2005
Сборка:  ReportExecution2005 (в ReportExecution2005.dll)

Синтаксис

'Декларация
Public Function Sort2 ( _
    SortItem As String, _
    Direction As SortDirectionEnum, _
    Clear As Boolean, _
    PaginationMode As PageCountMode, _
    <OutAttribute> ByRef ReportItem As String, _
    <OutAttribute> ByRef ExecutionInfo As ExecutionInfo2 _
) As Integer
'Применение
Dim instance As ReportExecutionService 
Dim SortItem As String 
Dim Direction As SortDirectionEnum 
Dim Clear As Boolean 
Dim PaginationMode As PageCountMode 
Dim ReportItem As String 
Dim ExecutionInfo As ExecutionInfo2 
Dim returnValue As Integer 

returnValue = instance.Sort2(SortItem, _
    Direction, Clear, PaginationMode, _
    ReportItem, ExecutionInfo)
public int Sort2(
    string SortItem,
    SortDirectionEnum Direction,
    bool Clear,
    PageCountMode PaginationMode,
    out string ReportItem,
    out ExecutionInfo2 ExecutionInfo
)
public:
int Sort2(
    String^ SortItem, 
    SortDirectionEnum Direction, 
    bool Clear, 
    PageCountMode PaginationMode, 
    [OutAttribute] String^% ReportItem, 
    [OutAttribute] ExecutionInfo2^% ExecutionInfo
)
member Sort2 : 
        SortItem:string * 
        Direction:SortDirectionEnum * 
        Clear:bool * 
        PaginationMode:PageCountMode * 
        ReportItem:string byref * 
        ExecutionInfo:ExecutionInfo2 byref -> int
public function Sort2(
    SortItem : String, 
    Direction : SortDirectionEnum, 
    Clear : boolean, 
    PaginationMode : PageCountMode, 
    ReportItem : String, 
    ExecutionInfo : ExecutionInfo2
) : int

Параметры

  • SortItem
    Тип: System.String
    The ID of the report item on which to sort.
  • Clear
    Тип: System.Boolean
    A Boolean value that indicates whether all other existing sorts should be cleared. The default is false.
  • ReportItem
    Тип: System.String%
    [out] The ID of the item on the page used for positioning in the viewing area.

Возвращаемое значение

Тип: System.Int32
An integer value that contains the new page number on which the item passed in the ReportItem parameter falls.

Замечания

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(In) ExecutionHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

None

SharePoint Mode Required Permissions

None

См. также

Справочник

ReportExecutionService Класс

Пространство имен ReportExecution2005