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

Mostrar archivo Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method 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

Method 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 method

Helper function to remove the test databases.
public static RemoveTestDatabasesWithSqlAuth ( ) : void
return void

RemoveTestDatabasesWithSqlAuth() public static method

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.
return void