SqlDatabaseTestClass.ExecutionContext Property
Gets or sets the execution context that is used to execute the Transact-SQL script that is associated with a test.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
[BrowsableAttribute(false)]
protected ConnectionContext ExecutionContext { get; set; }
protected:
[BrowsableAttribute(false)]
property ConnectionContext^ ExecutionContext {
ConnectionContext^ get();
void set(ConnectionContext^ value);
}
[<BrowsableAttribute(false)>]
member ExecutionContext : ConnectionContext with get, set
<BrowsableAttribute(False)>
Protected Property ExecutionContext As ConnectionContext
Property Value
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.ConnectionContext
A ConnectionContext object.
Remarks
This property is populated when InitializeTest is called. This property is cleared when CleanupTest is called.
See Also
ConnectionContext
InitializeTest
CleanupTest
SqlDatabaseTestClass Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top