Share via


IExecutionContextFactory Interface

Provides methods that are used to create IExecutionContext objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IExecutionContextFactory
'Usage
Dim instance As IExecutionContextFactory
public interface IExecutionContextFactory
public interface class IExecutionContextFactory
type IExecutionContextFactory =  interface end
public interface IExecutionContextFactory

The IExecutionContextFactory type exposes the following members.

Methods

  Name Description
Public method CreateExecuteAsCaller Creates an IExecutionContext object that represents the EXECUTE AS CALLER execution context.
Public method CreateExecuteAsLogin Creates an IExecutionContext object that represents the EXECUTE AS LOGIN execution context.
Public method CreateExecuteAsOwner Creates an IExecutionContext object that represents the EXECUTE AS OWNER execution context.
Public method CreateExecuteAsSelf Creates an IExecutionContext object that represents the EXECUTE AS SELF execution context.
Public method CreateExecuteAsUser Creates an IExecutionContext object that represents the EXECUTE AS USER execution context.

Top