Пример #1
0
        static void Main(string[] args)
        {
            Console.CancelKeyPress += new ConsoleCancelEventHandler(Console_CancelKeyPress);

            backup = new MSSqlBackup();

            if (args.Contains("-t"))
            {
                backup.IsTolerant = true;
            }
            else
            {
                backup.IsTolerant = false;
            }

            backup.Start();
        }
Пример #2
0
        static void Main(string[] args)
        {
            Console.CancelKeyPress += new ConsoleCancelEventHandler(Console_CancelKeyPress);

            backup = new MSSqlBackup();

            if (args.Contains("-t"))
            {
                backup.IsTolerant = true;
            }
            else
            {
                backup.IsTolerant = false;
            }

            backup.Start();
        }