Share via


Enumeración DatabaseDdlTriggerExecutionContext

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)

Sintaxis

'Declaración
Public Enumeration DatabaseDdlTriggerExecutionContext
'Uso
Dim instance As DatabaseDdlTriggerExecutionContext
public enum DatabaseDdlTriggerExecutionContext
public enum class DatabaseDdlTriggerExecutionContext
type DatabaseDdlTriggerExecutionContext
public enum DatabaseDdlTriggerExecutionContext

Miembros

Nombre del miembro Descripción
Caller The execution context of the database DDL trigger is the same as the process that called the trigger.
ExecuteAsUser The execution context of the database DDL trigger is the user specified by the ExecutionContextUser property.
Self The execution context of the database DDL trigger is the principal that created the trigger.

Comentarios

The DatabaseDdlTriggerExecutionContext enumeration class is served by the ExecutionContext property.