C# Класс Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.NewAzureSqlDatabaseTests

Наследование: TestBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CleanupTest ( ) : void
NewAzureSqlDatabaseWithSqlAuth ( ) : void
NewAzureSqlDatabaseWithSqlAuthDuplicateName ( ) : void
SetupTest ( ) : void

Описание методов

CreateTestDatabasesWithCertAuth() публичный статический Метод

Helper function to create the test databases.
public static CreateTestDatabasesWithCertAuth ( System powershell ) : void
powershell System
Результат void

CreateTestDatabasesWithSqlAuth() публичный статический Метод

Helper function to create the test databases.
public static CreateTestDatabasesWithSqlAuth ( ) : void
Результат void

CreateTestDatabasesWithSqlAuth() публичный статический Метод

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.
Результат void

RemoveTestDatabasesWithCertAuth() публичный статический Метод

Helper function to remove the test databases.
public static RemoveTestDatabasesWithCertAuth ( System powershell ) : void
powershell System
Результат void

RemoveTestDatabasesWithSqlAuth() публичный статический Метод

Helper function to remove the test databases.
public static RemoveTestDatabasesWithSqlAuth ( ) : void
Результат void

RemoveTestDatabasesWithSqlAuth() публичный статический Метод

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.
Результат void