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


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

The ServerDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the server DDL trigger runs.

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

Синтаксис

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

Элементы

Имя элемента Описание
Caller The execution context of the server DDL trigger is the same as the process that called the trigger.
ExecuteAsLogin The execution context of the server DDL trigger is the user specified by the ExecutionContextLogin property.
Self The execution context of the server DDL trigger is the principal that created the trigger.

Замечания

The ServerDdlTriggerExecutionContext enumeration class is served by the ExecutionContext property.