public int Sort(string sortItem, SortOrder direction, bool clear, PageCountMode paginationMode, out string reportItem, out ExecutionInfo executionInfo, out int numPages)
        {
            Microsoft.Reporting.NETCore.Internal.Soap.ReportingServices2005.Execution.PageCountMode paginationMode2 = SoapPageCountFromViewerAPI(paginationMode);
            SortDirectionEnum direction2 = (direction == SortOrder.Ascending) ? SortDirectionEnum.Ascending : SortDirectionEnum.Descending;

            Microsoft.Reporting.NETCore.Internal.Soap.ReportingServices2005.Execution.ExecutionInfo ExecutionInfo;
            int result = Service.Sort(sortItem, direction2, clear, paginationMode2, out reportItem, out ExecutionInfo, out numPages);

            executionInfo = FromSoapExecutionInfo(ExecutionInfo);
            return(result);
        }
 public byte[] Render(string format, string deviceInfo, PageCountMode paginationMode, out string extension, out string mimeType, out string encoding, out Warning[] warnings, out string[] streamIds)
 {
     Microsoft.Reporting.NETCore.Internal.Soap.ReportingServices2005.Execution.PageCountMode paginationMode2 = SoapPageCountFromViewerAPI(paginationMode);
     Microsoft.Reporting.NETCore.Internal.Soap.ReportingServices2005.Execution.Warning[]     Warnings;
     byte[] result = Service.Render(format, deviceInfo, paginationMode2, out extension, out mimeType, out encoding, out Warnings, out streamIds);
     warnings = Warning.FromSoapWarnings(Warnings);
     return(result);
 }