SqlTriggerAttribute.Event Property

Definition

The type of trigger and what data manipulation language (DML) action activates the trigger.

public:
 property System::String ^ Event { System::String ^ get(); void set(System::String ^ value); };
public string Event { get; set; }
member this.Event : string with get, set
Public Property Event As String

Property Value

A String value representing the type of trigger and what data manipulation language (DML) action activates the trigger.

Remarks

The DML action that activates the trigger could be an UPDATE, a DELETE, or an INSERT action. The type of the trigger can be AFTER or INSTEAD OF. Specifying FOR for the trigger type is the same as specifying AFTER.

The Event property is required.

Applies to