다음을 통해 공유


ReportExecutionService.Sort 메서드

네임스페이스:  Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution
어셈블리:  Microsoft.ReportViewer.WinForms(Microsoft.ReportViewer.WinForms.dll)

구문

‘선언
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort", 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")> _
<SoapHeaderAttribute("ExecutionHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("PrintControlClsidHeaderValue", Direction := SoapHeaderDirection.Out)> _
Public Function Sort ( _
    SortItem As String, _
    Direction As SortDirectionEnum, _
    Clear As Boolean, _
    <OutAttribute> ByRef ReportItem As String, _
    <OutAttribute> ByRef NumPages As Integer _
) As Integer
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort", 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")]
[SoapHeaderAttribute("ExecutionHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("PrintControlClsidHeaderValue", Direction = SoapHeaderDirection.Out)]
public int Sort(
    string SortItem,
    SortDirectionEnum Direction,
    bool Clear,
    out string ReportItem,
    out int NumPages
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort", 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")]
[SoapHeaderAttribute(L"ExecutionHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"PrintControlClsidHeaderValue", Direction = SoapHeaderDirection::Out)]
public:
int Sort(
    String^ SortItem, 
    SortDirectionEnum Direction, 
    bool Clear, 
    [OutAttribute] String^% ReportItem, 
    [OutAttribute] int% NumPages
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/Sort", 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")>]
[<SoapHeaderAttribute("ExecutionHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("PrintControlClsidHeaderValue", Direction = SoapHeaderDirection.Out)>]
member Sort : 
        SortItem:string * 
        Direction:SortDirectionEnum * 
        Clear:bool * 
        ReportItem:string byref * 
        NumPages:int byref -> int 
public function Sort(
    SortItem : String, 
    Direction : SortDirectionEnum, 
    Clear : boolean, 
    ReportItem : String, 
    NumPages : int
) : int

매개 변수

  • SortItem
    형식: String
  • Clear
    형식: Boolean
  • ReportItem
    형식: String%
  • NumPages
    형식: Int32%

반환 값

형식: Int32

참고 항목

참조

ReportExecutionService 클래스

Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution 네임스페이스