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

RemoveAzureVNetConfig() public method

public RemoveAzureVNetConfig ( ) : Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
return Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
        public ManagementOperationContext RemoveAzureVNetConfig()
        {
            RemoveAzureVNetConfigCmdletInfo removeAzureVNetConfigCmdletInfo = new RemoveAzureVNetConfigCmdletInfo();
            WindowsAzurePowershellCmdlet azurePowershellCmdlet = new WindowsAzurePowershellCmdlet(removeAzureVNetConfigCmdletInfo);
            Collection<PSObject> result = azurePowershellCmdlet.Run();

            if (result.Count == 1)
            {
                return (ManagementOperationContext)result[0].BaseObject;
            }
            return null;
        }
ServiceManagementCmdletTestHelper