DatabaseTestClass.ExecutionContext-Eigenschaft
Aktualisiert: November 2007
Ruft den Ausführungskontext ab, der beim Ausführen des einem Test zugeordneten T-SQL-Skripts verwendet wird, oder legt diesen fest.
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)
Eigenschaftenwert
Typ: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.ConnectionContext
Hinweise
Diese Eigenschaft wird aufgefüllt, wenn InitializeTest aufgerufen wird, und gelöscht, wenn CleanupTest aufgerufen wird.
Berechtigungen
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting-Namespace