Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ServerDdlTriggerExecutionContext Enumeration
Collapse the table of content
Expand the table of content

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)

public enum ServerDdlTriggerExecutionContext

Member nameDescription
CallerThe execution context of the server DDL trigger is the same as the process that called the trigger.
ExecuteAsLoginThe execution context of the server DDL trigger is the user specified by the ExecutionContextLogin property.
SelfThe execution context of the server DDL trigger is the principal that created the trigger.

The ServerDdlTriggerExecutionContext enumeration class is served by the ExecutionContext property.

Community Additions

ADD
Show:
© 2015 Microsoft