共用方式為


SqlDatabaseTestClass.CleanupTest 方法 ()

 

由單元測試類別呼叫。

命名空間:   Microsoft.Data.Tools.Schema.Sql.UnitTesting
組件:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (在 Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

語法

protected void CleanupTest()
protected:
void CleanupTest()
member CleanupTest : unit -> unit
Protected Sub CleanupTest

備註

這個方法會先處置現有執行內容和授權的內容。此方法接著會建立新的授權內容以供執行 TestCleanupAction (如果已定義) 時使用。最後,方法會處置有權限的內容。

請參閱

TestCleanupAction
SqlDatabaseTestClass 類別
Microsoft.Data.Tools.Schema.Sql.UnitTesting 命名空間

回到頁首