Интерфейс IExecutionContext

Represents a SQL Server user-defined module execution context.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IExecutionContext _
    Inherits IMetadataObject
'Применение
Dim instance As IExecutionContext
public interface IExecutionContext : IMetadataObject
public interface class IExecutionContext : IMetadataObject
type IExecutionContext =  
    interface
        interface IMetadataObject
    end
public interface IExecutionContext extends IMetadataObject

Тип IExecutionContext обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство ContextType Gets an ExecutionContextType value that indicates the execution context for the module.
Открытое свойство Login Gets the SQL Server login that can be used in an EXECUTE AS clause.
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство User Gets the user that can be used in an EXECUTE AS clause.

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)

В начало