TechNet
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
This documentation is archived and is not being maintained.

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
public enum ServerDdlTriggerExecutionContext
public enum ServerDdlTriggerExecutionContext

Member nameDescription
CallerThe execution context of the server DDL trigger is the same as the process that called the trigger.
ExecuteAsLogin 
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.

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


Development Platforms

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

Target Platforms

Show:
© 2016 Microsoft