コード例 #1
0
        private void tSBClearConnectionPool_Click(object sender, RoutedEventArgs e)
        {
            ConnectionData connectionData = GetItemFromRoutedDataContext <ConnectionData>(e);

            if (connectionData == null)
            {
                return;
            }

            connectionData.ClearConnectionPool();
        }
 protected override void CommandAction(DTEHelper helper, ConnectionData connectionData)
 {
     connectionData.ClearConnectionPool();
 }