Microsoft.WindowsAzure.Management.ServiceManagement.Test.FunctionalTests.ServiceManagementCmdletTestHelper.RemoveAzureVNetConfig C# (CSharp) Méthode

RemoveAzureVNetConfig() public méthode

public RemoveAzureVNetConfig ( ) : Microsoft.WindowsAzure.Management.Model.ManagementOperationContext
Résultat 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