DatabaseTestClass.ExecutionContext Property
Gets or sets the execution context used to execute the T-SQL script associated with a test.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Protected Property ExecutionContext As ConnectionContext
'Usage
Dim value As ConnectionContext
value = Me.ExecutionContext
Me.ExecutionContext = value
[BrowsableAttribute(false)]
protected ConnectionContext ExecutionContext { get; set; }
[BrowsableAttribute(false)]
protected:
property ConnectionContext^ ExecutionContext {
ConnectionContext^ get ();
void set (ConnectionContext^ value);
}
protected function get ExecutionContext () : ConnectionContext
protected function set ExecutionContext (value : ConnectionContext)
Property Value
Type: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.ConnectionContext
Remarks
This property is populated when InitializeTest is called and cleared when CleanupTest is called.
Permissions
- 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.
See Also
Reference
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace