ServerDdlTriggerExecutionContext Enumeration
The ServerDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the server DDL trigger runs.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)
Syntax
'Declaration
Public Enumeration ServerDdlTriggerExecutionContext
'Usage
Dim instance As ServerDdlTriggerExecutionContext
public enum ServerDdlTriggerExecutionContext
public enum class ServerDdlTriggerExecutionContext
type ServerDdlTriggerExecutionContext
public enum ServerDdlTriggerExecutionContext
Members
Member name | Description | |
---|---|---|
Caller | The execution context of the server DDL trigger is the same as the process that called the trigger. | |
ExecuteAsLogin | ||
Self | The execution context of the server DDL trigger is the principal that created the trigger. |
Remarks
The ServerDdlTriggerExecutionContext enumeration class is served by the ExecutionContext property.