Trigger.DeleteOrder Trigger.DeleteOrder Trigger.DeleteOrder Property

Definition

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

public:
 property Microsoft::SqlServer::Management::Smo::Agent::ActivationOrder DeleteOrder { Microsoft::SqlServer::Management::Smo::Agent::ActivationOrder get(); void set(Microsoft::SqlServer::Management::Smo::Agent::ActivationOrder value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Design)]
public Microsoft.SqlServer.Management.Smo.Agent.ActivationOrder DeleteOrder { get; set; }
Public Property DeleteOrder As ActivationOrder
Property Value

An ActivationOrder object value that specifies whether the trigger is executed before or after the records are deleted.

Examples

Creating, Altering, and Removing Triggers

Applies to