.NET Framework 4.6 and 4.5
An attribute on a method definition in an assembly, used to mark the method as a trigger in SQL Server.
The following example specifies that the trigger is activated by updating existing data (UPDATE) in the table authors.
public partial class Triggers
[SqlTrigger(Target="authors", Event="FOR UPDATE")]
public static void AuthorsUpdateTrigger()
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
(1500 characters remaining)
Thank you for your feedback