DatabaseTestClass.CleanupTest 方法
由單元測試類別呼叫。
命名空間: Microsoft.Data.Schema.UnitTesting
組件: Microsoft.Data.Schema.UnitTesting (在 Microsoft.Data.Schema.UnitTesting.dll 中)
語法
'宣告
Protected Sub CleanupTest
protected void CleanupTest()
protected:
void CleanupTest()
member CleanupTest : unit -> unit
protected function CleanupTest()
備註
這個方法會先處置 (Dispose) 現有執行內容和授權的內容。 此方法接著會建立新的授權內容以供執行 TestCleanupAction (如果已定義) 時使用。 最後,方法會處置有權限的內容。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。