Exemplo n.º 1
0
 public void Disconnect()
 {
     if (collection != null)
     {
         collection.Disconnect();
         collection.Dispose();
     }
 }
Exemplo n.º 2
0
        public void Disconnect()
        {
            if (!IsAuthenticated)
            {
                return;
            }

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