Microsoft.WindowsAzure.Management.ServiceManagement.Test.FunctionalTests.ServiceManagementCmdletTestHelper.RemoveEndPoint C# (CSharp) Method

RemoveEndPoint() public method

public RemoveEndPoint ( string vmName, string serviceName, string epNames ) : void
vmName string
serviceName string
epNames string
return void
        public void RemoveEndPoint(string vmName, string serviceName, string [] epNames)
        {
            PersistentVMRoleContext vmRoleCtxt = GetAzureVM(vmName, serviceName);

            foreach (string ep in epNames)
            {
                vmRoleCtxt.VM = RemoveAzureEndPoint(ep, vmRoleCtxt).VM;
            }
            UpdateAzureVM(vmName, serviceName, vmRoleCtxt.VM);
        }
ServiceManagementCmdletTestHelper