SqlDatabaseTestService.OpenPrivilegedContext Method ()
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