public int Sort2(string SortItem, RSSortDirectionEnum Direction, bool Clear, RSPageCountMode PaginationMode, out string ReportItem, out RSExecutionInfo2 ExecutionInfo) { SortDirectionEnum direction = (SortDirectionEnum)Converter.Convert(Direction); PageCountMode paginationMode = (PageCountMode)Converter.Convert(PaginationMode); ExecutionInfo2 execInfo = null; int outval = rs.Sort2(SortItem, direction, Clear, paginationMode, out ReportItem, out execInfo); ExecutionInfo = (RSExecutionInfo2)Converter.Convert(execInfo); return(outval); }