Пример #1
0
        static bool UnbindService(IList<string> unparsed)
        {
            if (unparsed.Count != 2)
            {
                Console.Error.WriteLine("Usage: vmc unbind-service <servicename> <appname>");
                return false;
            }

            string svcname = unparsed[0];
            string appname = unparsed[1];

            IVcapClient vc = new VcapClient();
            VcapClientResult rslt = vc.UnbindService(svcname, appname);
            return rslt.Success;
        }