DatabaseDdlTriggerExecutionContext Enumeration

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

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

语法

声明
Public Enumeration DatabaseDdlTriggerExecutionContext
public enum DatabaseDdlTriggerExecutionContext
public enum class DatabaseDdlTriggerExecutionContext
public enum DatabaseDdlTriggerExecutionContext
public enum DatabaseDdlTriggerExecutionContext

Members

Member name Description
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.

备注

The DatabaseDdlTriggerExecutionContext enumeration class is served by the ExecutionContext property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Management.Smo Namespace