Dela via


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

protected void CleanupTest()
protected:
void CleanupTest()
member CleanupTest : unit -> unit
Protected Sub 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

TestCleanupAction
SqlDatabaseTestClass Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace

Return to top