Microsoft.WindowsAzure.Management.ServiceManagement.Test.FunctionalTests.ServiceManagementCmdletTestHelper.RemoveAzureDeployment C# (CSharp) 메소드

RemoveAzureDeployment() 공개 메소드

public RemoveAzureDeployment ( string serviceName, string slot, bool force ) : Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
serviceName string
slot string
force bool
리턴 Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
        public ManagementOperationContext RemoveAzureDeployment(string serviceName, string slot, bool force)
        {
            RemoveAzureDeploymentCmdletInfo removeAzureDeploymentCmdletInfo = new RemoveAzureDeploymentCmdletInfo(serviceName, slot, force);
            WindowsAzurePowershellCmdlet azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(removeAzureDeploymentCmdletInfo);

            Collection<PSObject> result = azurePowershellCmdlet.Run();
            if (result.Count == 1)
            {
                return (ManagementOperationContext)result[0].BaseObject;
            }
            return null;
        }
ServiceManagementCmdletTestHelper