C# Class Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.NewAzureSqlPremiumDatabaseTests

Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
RemoveTestDatabasesWithSqlAuth ( ) : void

Helper function to remove the test databases.

RemoveTestDatabasesWithSqlAuth ( System powershell, string contextVariable ) : void

Removes all existing db which name starting with PremiumTest on the given context.

Private Methods

Méthode Description
CleanupTest ( ) : void
CreatePremiumDatabasesWithSqlAuth ( ) : void
TestCreatePremiumDatabase ( System powershell, Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer.HttpSession testSession ) : void

Helper function to create premium database in the powershell environment provided.

Method Details

RemoveTestDatabasesWithSqlAuth() public static méthode

Helper function to remove the test databases.
public static RemoveTestDatabasesWithSqlAuth ( ) : void
Résultat void

RemoveTestDatabasesWithSqlAuth() public static méthode

Removes all existing db which name starting with PremiumTest on the given context.
public static RemoveTestDatabasesWithSqlAuth ( System powershell, string contextVariable ) : void
powershell System The powershell instance containing the context.
contextVariable string The variable name that holds the server context.
Résultat void