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 that is used to verify a test execution. Also, this property verifies and executes pre-test and post-test actions for each test.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
[BrowsableAttribute(false)]
protected ConnectionContext PrivilegedContext { get; set; }
protected:
[BrowsableAttribute(false)]
property ConnectionContext^ PrivilegedContext {
ConnectionContext^ get();
void set(ConnectionContext^ value);
}
[<BrowsableAttribute(false)>]
member PrivilegedContext : ConnectionContext with get, set
<BrowsableAttribute(False)>
Protected Property PrivilegedContext As ConnectionContext
Property Value
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.ConnectionContext
Returns a ConnectionContext.
Remarks
This property is populated when InitializeTest is called. This property is cleared when CleanupTest is called.
See Also
ConnectionContext
InitializeTest
CleanupTest
SqlDatabaseTestClass Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top