Partilhar via


DatabaseDdlTriggerExecutionContext Enumeration

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Declaration
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.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace