Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlTriggerAttribute::Event Property

 

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

Namespace:   Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public:
property String^ Event {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

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

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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft