Aracılığıyla paylaş


ReportExecutionService.Sort Yöntemi

Uygular veya kaldırır bir kullanıcı sıralama göre yürütülmesi için bir sıralama eylem.

Ad Alanı:  ReportExecution2005
Derleme:  ReportExecution2005 (ReportExecution2005 içinde.dll)

Sözdizimi

'Bildirim
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExecutionHeaderValue")> _
<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)> _
Public Function Sort ( _
    SortItem As String, _
    Direction As SortDirectionEnum, _
    Clear As Boolean, _
    <OutAttribute> ByRef ReportItem As String, _
    <OutAttribute> ByRef NumPages As Integer _
) As Integer
'Kullanım
Dim instance As ReportExecutionService
Dim SortItem As String
Dim Direction As SortDirectionEnum
Dim Clear As Boolean
Dim ReportItem As String
Dim NumPages As Integer
Dim returnValue As Integer

returnValue = instance.Sort(SortItem, _
    Direction, Clear, ReportItem, NumPages)
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExecutionHeaderValue")]
[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)]
public int Sort(
    string SortItem,
    SortDirectionEnum Direction,
    bool Clear,
    out string ReportItem,
    out int NumPages
)
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"ExecutionHeaderValue")]
[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)]
public:
int Sort(
    String^ SortItem, 
    SortDirectionEnum Direction, 
    bool Clear, 
    [OutAttribute] String^% ReportItem, 
    [OutAttribute] int% NumPages
)
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("ExecutionHeaderValue")>]
[<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)>]
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

Parametreler

  • SortItem
    Tür: System.String
    Sıralamak rapor öğesi kimliği.
  • Clear
    Tür: System.Boolean
    A Boole tüm varolan sıralar işaretli olup olmadığını gösteren değer.Varsayılan değer yanlış.
  • ReportItem
    Tür: System.String%
    [Çıkış] Madde Kimliğini sayfa görüntüleme alanında konumlandırma için kullanılır.
  • NumPages
    Tür: System.Int32%
    [Çıkış] Yeni toplam sayısı raporda sayfalar.

Dönüş Değeri

Tür: System.Int32
Bir tamsayý , üzerinde öğe geçirilen yeni sayfa numarası içeren bir değer ReportItem parametresi falls.

Açıklamalar

Aşağıdaki tablo üstbilgi ve izinler bu işlemi gösterir.

soap üstbilgisi kullanımı

(De)TrustedUserHeaderValue

(De)ExecutionHeaderValue

(Giden)ServerInfoHeaderValue

Yerel mod gerekli izinleri

Hiçbiri

SharePoint modu gerekli izinleri

Hiçbiri