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.
Opens the context that is used when the results of SQL execution are verified and when the database is set up.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
public virtual ConnectionContext OpenPrivilegedContext()
public:
virtual ConnectionContext^ OpenPrivilegedContext()
abstract OpenPrivilegedContext : unit -> ConnectionContext
override OpenPrivilegedContext : unit -> ConnectionContext
Public Overridable Function OpenPrivilegedContext As ConnectionContext
Return Value
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.ConnectionContext
A ConnectionContext object.
Remarks
This context may have greater permissions than the execution context.
See Also
ConnectionContext
SqlDatabaseTestService Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top