SqlTrigger attribute

<SqlTrigger(Name:="trtblSearchResults", Target:="tblSearchResults", Event:="FOR INSERT, UPDATE")>

With Sql Server 2005 and Visual Studio .NET 2005 (Whidbey), you will be able to define the table that you wish to apply the trigger to, the name of the trigger, and the Events that you want the trigger to monitor.  When you deploy the trigger through Visual Studio .NET to Sql Server 2005, Visual Studio and Sql Server will wire the trigger to the events.

Wally

4 Comments

Comments have been disabled for this content.