Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets or sets the execution context type used by server DDL trigger, itself, the caller, or a specified login.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ExecutionContext As ServerDdlTriggerExecutionContext
Get
Set
'Uso
Dim instance As ServerDdlTrigger
Dim value As ServerDdlTriggerExecutionContext
value = instance.ExecutionContext
instance.ExecutionContext = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public ServerDdlTriggerExecutionContext ExecutionContext { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property ServerDdlTriggerExecutionContext ExecutionContext {
ServerDdlTriggerExecutionContext get ();
void set (ServerDdlTriggerExecutionContext value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ExecutionContext : ServerDdlTriggerExecutionContext with get, set
function get ExecutionContext () : ServerDdlTriggerExecutionContext
function set ExecutionContext (value : ServerDdlTriggerExecutionContext)
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerExecutionContext
A ServerDdlTriggerExecutionContext object that specifies the type of execution context used by the server DDL trigger.
Comentarios
If you specify that the execution context type is ExecuteAsLogin then you must also set the ExecutionContextLogin property to specify which login to use.
Ejemplos
Crear, modificar y eliminar desencadenadores
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo