private Int32 GetEqualBreakAwayListIndex(String server, Int32 txListIndex)
 {
     try
     {
         if (_listService != null)
         {
             var listCount = _listService.GetListCount(server);
             var baLists   = new List <int>();
             var txLists   = new List <int>();
             for (var i = 1; i <= listCount; i++)
             {
                 var listType = _listService.GetListType(_loginSession, server, i);
                 if (listType == TypeOfList.Breakaway)
                 {
                     baLists.Add(i);
                 }
                 if (listType == TypeOfList.Sequence)
                 {
                     txLists.Add(i);
                 }
             }
             var search = txLists.IndexOf(txListIndex);
             return(search == -1 ? search : baLists[search]);
         }
     }
     catch (ListServiceEventProcessingException) { return(-1); }
     catch (ListServiceListNotEnabledException) { return(-1); }
     catch (ListServiceListLockedException) { return(-1); }
     catch (ADCException) { return(-1); }
     return(-1);
 }