private static bool IsNewLinkedChannel(PortalChannel pChannel, LinkedChannel lChannel)
 {
   bool bRet = true;
   foreach (LinkedChannel lchan in pChannel.LinkedChannels)
   {
     if ((lchan.NetworkId == lChannel.NetworkId) && (lchan.TransportId == lChannel.TransportId) &&
         (lchan.ServiceId == lChannel.ServiceId))
     {
       bRet = false;
       break;
     }
   }
   return bRet;
 }
 private static bool SameAsPortalChannel(PortalChannel pChannel, LinkedChannel lChannel)
 {
   return ((pChannel.NetworkId == lChannel.NetworkId) && (pChannel.TransportId == lChannel.NetworkId) &&
           (pChannel.ServiceId == lChannel.ServiceId));
 }