DatabaseTestClass.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.Schema.UnitTesting
Assembly: Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Protected Property ExecutionContext As ConnectionContext
[BrowsableAttribute(false)]
protected ConnectionContext ExecutionContext { get; set; }
[BrowsableAttribute(false)]
protected:
property ConnectionContext^ ExecutionContext {
ConnectionContext^ get ();
void set (ConnectionContext^ value);
}
[<BrowsableAttribute(false)>]
member ExecutionContext : ConnectionContext with get, set
function get ExecutionContext () : ConnectionContext
function set ExecutionContext (value : ConnectionContext)
Property Value
Type: Microsoft.Data.Schema.UnitTesting.ConnectionContext
A ConnectionContext object.
Remarks
This property is populated when InitializeTest is called. This property is cleared when CleanupTest is called.
.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.