Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the privileged context used to verify test execution and execute and verify the pre and post-test actions for each test.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)
Syntax
'Declaration
Protected Property PrivilegedContext As ConnectionContext
'Usage
Dim value As ConnectionContext
value = Me.PrivilegedContext
Me.PrivilegedContext = value
protected ConnectionContext PrivilegedContext { get; set; }
protected:
property ConnectionContext^ PrivilegedContext {
ConnectionContext^ get ();
void set (ConnectionContext^ value);
}
/** @property */
protected ConnectionContext get_PrivilegedContext ()
/** @property */
protected void set_PrivilegedContext (ConnectionContext value)
protected function get PrivilegedContext () : ConnectionContext
protected function set PrivilegedContext (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