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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.