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

RestartAzureVM() public method

public RestartAzureVM ( string vmName, string serviceName ) : void
vmName string
serviceName string
return void
        public void RestartAzureVM(string vmName, string serviceName)
        {
            RestartAzureVMCmdletInfo restartAzureVMCmdlet = new RestartAzureVMCmdletInfo(vmName, serviceName);
            WindowsAzurePowershellCmdlet azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(restartAzureVMCmdlet);
            azurePowershellCmdlet.Run();
        }
ServiceManagementCmdletTestHelper