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

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

Méthodes publiques

Méthode Description
CreateTestDatabasesWithCertAuth ( System powershell ) : void

Helper function to create the test databases.

CreateTestDatabasesWithSqlAuth ( ) : void

Helper function to create the test databases.

CreateTestDatabasesWithSqlAuth ( System powershell, string contextVariable ) : void

Create $testdb1 and $testdb2 on the given context.

RemoveTestDatabasesWithCertAuth ( System powershell ) : void

Helper function to remove the test databases.

RemoveTestDatabasesWithSqlAuth ( ) : void

Helper function to remove the test databases.

RemoveTestDatabasesWithSqlAuth ( System powershell, string contextVariable ) : void

Removes $testdb1 and $testdb2 on the given context.

Private Methods

Méthode Description
CleanupTest ( ) : void
NewAzureSqlDatabaseWithSqlAuth ( ) : void
NewAzureSqlDatabaseWithSqlAuthDuplicateName ( ) : void
SetupTest ( ) : void

Method Details

CreateTestDatabasesWithCertAuth() public static méthode

Helper function to create the test databases.
public static CreateTestDatabasesWithCertAuth ( System powershell ) : void
powershell System
Résultat void

CreateTestDatabasesWithSqlAuth() public static méthode

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

CreateTestDatabasesWithSqlAuth() public static méthode

Create $testdb1 and $testdb2 on the given context.
public static CreateTestDatabasesWithSqlAuth ( 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

RemoveTestDatabasesWithCertAuth() public static méthode

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

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 $testdb1 and $testdb2 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