Partager via


Propriété Trigger.ExecutionContext

Gets or sets the execution context.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property ExecutionContext As ExecutionContext 
    Get 
    Set
'Utilisation
Dim instance As Trigger 
Dim value As ExecutionContext 

value = instance.ExecutionContext

instance.ExecutionContext = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public ExecutionContext ExecutionContext { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
property ExecutionContext ExecutionContext {
    ExecutionContext get ();
    void set (ExecutionContext value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
member ExecutionContext : ExecutionContext with get, set
function get ExecutionContext () : ExecutionContext 
function set ExecutionContext (value : ExecutionContext)

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.ExecutionContext
An ExecutionContext object value that specifies the execution context.

Exemples

Création, modification et suppression de déclencheurs

Voir aussi

Référence

Trigger Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Déclencheurs DML

CREATE TRIGGER (Transact-SQL)