SqlDatabaseTestClass.TestCleanupAction Property
Gets or sets the SqlDatabaseTestAction that will be executed after each test is run.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property TestCleanupAction As SqlDatabaseTestAction
Get
Set
'Usage
Dim instance As SqlDatabaseTestClass
Dim value As SqlDatabaseTestAction
value = instance.TestCleanupAction
instance.TestCleanupAction = value
[BrowsableAttribute(false)]
public SqlDatabaseTestAction TestCleanupAction { get; set; }
[BrowsableAttribute(false)]
public:
property SqlDatabaseTestAction^ TestCleanupAction {
SqlDatabaseTestAction^ get ();
void set (SqlDatabaseTestAction^ value);
}
[<BrowsableAttribute(false)>]
member TestCleanupAction : SqlDatabaseTestAction with get, set
function get TestCleanupAction () : SqlDatabaseTestAction
function set TestCleanupAction (value : SqlDatabaseTestAction)
Property Value
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction
A SqlDatabaseTestAction object.
Remarks
Typically, when the component is initialized, this property is populated with an instance of the SqlDatabaseTestAction class.