예제 #1
0
        ConsoleEntryPoint(string[] argv)
        {
            List <string> arguments = PrescanArgs(argv);

            if (this.operation != Operations.Help)
            {
                previousConfig = new WsatConfiguration(null, this.virtualServer, null, true);
                previousConfig.LoadFromRegistry();
                newConfig = new WsatConfiguration(null, this.virtualServer, previousConfig, true);
                ParseArgs(arguments);
            }
        }
예제 #2
0
        void InitializeConfig()
        {
            try
            {
                previousConfig = new WsatConfiguration(machineName, virtualServer, null, false);
                previousConfig.LoadFromRegistry();

                config = new WsatConfiguration(machineName, virtualServer, previousConfig, false);
                msdtc  = config.GetMsdtcWrapper();
                ConfigurationToUI();
            }
            catch (WsatAdminException e)
            {
                HandleException(e);
            }
        }
예제 #3
0
파일: WSATControl.cs 프로젝트: mind0n/hive
        void InitializeConfig()
        {
            try
            {
                previousConfig = new WsatConfiguration(machineName, virtualServer, null, false);
                previousConfig.LoadFromRegistry();

                config = new WsatConfiguration(machineName, virtualServer, previousConfig, false);
                msdtc = config.GetMsdtcWrapper();
                ConfigurationToUI();
            }
            catch (WsatAdminException e)
            {
                HandleException(e);
            }
        }
예제 #4
0
 ConsoleEntryPoint(string[] argv)
 {
     List<string> arguments = PrescanArgs(argv);
     if (this.operation != Operations.Help)
     {
         previousConfig = new WsatConfiguration(null, this.virtualServer, null, true);
         previousConfig.LoadFromRegistry();
         newConfig = new WsatConfiguration(null, this.virtualServer, previousConfig, true);
         ParseArgs(arguments);
     }
 }