Exemple #1
0
 public void Disconnect()
 {
     if (collection != null)
     {
         collection.Disconnect();
         collection.Dispose();
     }
 }
        public void Disconnect()
        {
            if (!IsAuthenticated)
            {
                return;
            }

            _tfs.Disconnect();
            _tfs.Dispose();
            _tfs = null;
        }