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

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