Partager via


Propriété Trigger.DeleteOrder

Gets or sets the order in which the trigger and the delete operation are executed.

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.Design)> _
Public Property DeleteOrder As ActivationOrder 
    Get 
    Set
'Utilisation
Dim instance As Trigger 
Dim value As ActivationOrder 

value = instance.DeleteOrder

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Agent.ActivationOrder
An ActivationOrder object value that specifies whether the trigger is executed before or after the records are deleted.

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)