共用方式為


DatabaseDdlTriggerExecutionContext Enum

Definition

Specifies the user context in which assembly code will run.

public enum DatabaseDdlTriggerExecutionContext
type DatabaseDdlTriggerExecutionContext = 
Public Enum DatabaseDdlTriggerExecutionContext
Inheritance
DatabaseDdlTriggerExecutionContext

Fields

Name Value Description
Caller 1

Run in context of caller.

ExecuteAsUser 2

Run as specified login with ExecuteAsLogin property.

Self 3

shortcut for ExecuteAsUser. resolves to user doing the alter/create

Applies to