DatabaseTestClass.CleanupTest Method

Called by the unit testing class.

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

Syntax

'Declaration
Protected Sub 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.

.NET Framework Security

See Also

Reference

DatabaseTestClass Class

Microsoft.Data.Schema.UnitTesting Namespace

TestCleanupAction