Share via


IExecutionContext Interface

Represents a SQL Server user-defined module execution context.

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

Syntax

'Declaration
Public Interface IExecutionContext _
    Inherits IMetadataObject
'Usage
Dim instance As IExecutionContext
public interface IExecutionContext : IMetadataObject
public interface class IExecutionContext : IMetadataObject
type IExecutionContext =  
    interface
        interface IMetadataObject
    end
public interface IExecutionContext extends IMetadataObject

The IExecutionContext type exposes the following members.

Properties

  Name Description
Public property ContextType Gets an ExecutionContextType value that indicates the execution context for the module.
Public property Login Gets the SQL Server login that can be used in an EXECUTE AS clause.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property User Gets the user that can be used in an EXECUTE AS clause.

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top