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 (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
Public Enumeration ServerDdlTriggerExecutionContext
public enum ServerDdlTriggerExecutionContext
public enum class ServerDdlTriggerExecutionContext
public enum 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. |
備註
The ServerDdlTriggerExecutionContext 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 的硬體和軟體需求>。