static void Main(string[] args) { // TestDb(); TestPerformance.Run(); Console.WriteLine("Press Enter to continue."); Console.ReadLine(); }
public static void Run() { TestPerformance prog = new TestPerformance(); // Open a connection and create the performance counters. prog.connection.ConnectionString = GetIntegratedSecurityConnectionString(); prog.SetUpPerformanceCounters(); Console.WriteLine("Available Performance Counters:"); // Create the connections and display the results. prog.CreateConnections(); }