Exemplo n.º 1
0
        public void DeleteContainer(TranslationProviderServer tmServer, string organization, string containerName)
        {
            if (!organization.EndsWith("/"))
            {
                organization += "/";
            }
            TranslationMemoryContainer container = tmServer.GetContainer(organization + containerName, ContainerProperties.None);

            container.Delete(false);
        }
        public void DeleteContainer()
        {
            TranslationMemoryContainer container = TMServer.GetContainer(ParentOrganizationPath + "/APITest", ContainerProperties.None);

            if (container != null)
            {
                container.Delete(true);
                WriteResult("Container deleted\r\n");
            }
        }