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.

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间