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.Schema.UnitTesting
Assembly: Microsoft.Data.Schema.UnitTesting (in Microsoft.Data.Schema.UnitTesting.dll)
Syntax
'Declaration
Public Overridable Function OpenPrivilegedContext As ConnectionContext
public virtual ConnectionContext OpenPrivilegedContext()
public:
virtual ConnectionContext^ OpenPrivilegedContext()
abstract OpenPrivilegedContext : unit -> ConnectionContext
override OpenPrivilegedContext : unit -> ConnectionContext
public function OpenPrivilegedContext() : ConnectionContext
Return Value
Type: Microsoft.Data.Schema.UnitTesting.ConnectionContext
A ConnectionContext object.
Remarks
This context may have greater permissions than the execution context.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.