public ManagementOperationContext MoveAzureDeployment(string serviceName)
{
MoveAzureDeploymentCmdletInfo moveAzureDeploymentCmdletInfo = new MoveAzureDeploymentCmdletInfo(serviceName);
WindowsAzurePowershellCmdlet azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(moveAzureDeploymentCmdletInfo);
Collection<PSObject> result = azurePowershellCmdlet.Run();
if (result.Count == 1)
{
return (ManagementOperationContext)result[0].BaseObject;
}
return null;
}