SqlTriggerAttribute::Target Property
.NET Framework (current version)
The table to which the trigger applies.
Assembly: System.Data (in System.Data.dll)
The Target property is required.
The following example specifies that the trigger is referenced by using the name trig_onpubinsert. The trigger is activated by adding new data (INSERT) to the table publishers.
.NET Framework
Available since 2.0
Available since 2.0
Show: