Поделиться через


Перечисление ExecutionContext

The ExecutionContext enumeration is a list of constant values that specify the different types of context (or which role is assumed) when executing a process represented by an object.

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

Синтаксис

'Декларация
Public Enumeration ExecutionContext
'Применение
Dim instance As ExecutionContext
public enum ExecutionContext
public enum class ExecutionContext
type ExecutionContext
public enum ExecutionContext

Элементы

Имя элемента Описание
Caller The process is executed in the context of the process that called the referenced process.
Owner The process is executed as the owner of the referenced object.
ExecuteAsUser The process is executed as a specific user.
Self The process is executed in the context of the referenced object.

Замечания

The sec enumeration class is served by the ExecutionContext property, the ExecutionContext property, and the ExecutionContext property.