SqlDatabaseTestClass.CleanupTest Method

Called by the unit testing class.

Namespace:  Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Syntax

'Declaration
Protected Sub CleanupTest
'Usage
Me.CleanupTest()
protected void CleanupTest()
protected:
void CleanupTest()
member CleanupTest : unit -> unit
protected function CleanupTest()

Remarks

This method first disposes of the existing execution context and privileged context. The method then creates a privileged context to use when the TestCleanupAction is run, if it is defined. Finally, the method disposes of the privileged context.

See Also

Reference

SqlDatabaseTestClass Class

Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

TestCleanupAction