Sort2 メソッド

ユーザーの並べ替えアクションに基づく実行の並べ替えを適用または削除します。

名前空間:  ReportExecution2005
アセンブリ:  ReportExecution2005 (ReportExecution2005.dll)

構文

'宣言
<SoapHeaderAttribute("ExecutionHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort2", RequestNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
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)
[SoapHeaderAttribute("ExecutionHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort2", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public int Sort2(
    string SortItem,
    SortDirectionEnum Direction,
    bool Clear,
    PageCountMode PaginationMode,
    out string ReportItem,
    out ExecutionInfo2 ExecutionInfo
)
[SoapHeaderAttribute(L"ExecutionHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort2", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
int Sort2(
    String^ SortItem, 
    SortDirectionEnum Direction, 
    bool Clear, 
    PageCountMode PaginationMode, 
    [OutAttribute] String^% ReportItem, 
    [OutAttribute] ExecutionInfo2^% ExecutionInfo
)
[<SoapHeaderAttribute("ExecutionHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort2", RequestNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
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
    並べ替えの対象となるレポート アイテムの ID です。
  • Clear
    型: System. . :: . .Boolean
    既存の他の並べ替えをすべて消去する必要があるかどうかを示す Boolean 値です。既定値は false です。
  • ReportItem
    型: System. . :: . .String%
    [out] 表示領域での配置に使用されるページのアイテムの ID です。

戻り値

型: System. . :: . .Int32
ReportItem パラメーターに渡されるアイテムが位置する新しいページ番号を表す integer 値です。