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
Protected Property ExecutionContext As ConnectionContext
'Usage
Dim value As ConnectionContext
value = Me.ExecutionContext
Me.ExecutionContext = value
protected ConnectionContext ExecutionContext { get; set; }
protected:
property ConnectionContext^ ExecutionContext {
ConnectionContext^ get ();
void set (ConnectionContext^ value);
}
/** @property */
protected ConnectionContext get_ExecutionContext ()
/** @property */
protected void set_ExecutionContext (ConnectionContext value)
protected function get ExecutionContext () : ConnectionContext
protected function set ExecutionContext (value : ConnectionContext)
Remarks
This property is populated when InitializeTest is called and cleared when CleanupTest is called.
See Also
Reference
DatabaseTestClass Class
DatabaseTestClass Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting Namespace