Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.36 KB

File metadata and controls

24 lines (21 loc) · 1.36 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
SqlTriggerContext Object
In SQL Server CLR integration, the SqlTriggerContext class provides context information for a trigger including type of action and columns modified in operation.
rwestMSFT
randolphwest
03/06/2017
sql
clr
reference
SqlTriggerContext object
triggers [CLR integration]
context [CLR integration]

SqlTriggerContext Object

[!INCLUDE SQL Server] The SqlTriggerContext class provides context information about the trigger. This contextual information includes the type of action that caused the trigger to fire, which columns were modified in an UPDATE operation, and, in the case of a data definition language (DDL) trigger, an XML EventData structure that describes the triggering operation. For more information and examples of how to use the SqlTriggerContext class, see CLR Triggers.

For more information, see the Microsoft.SqlServer.Server.SqlTriggerContext class reference documentation in the .NET Framework SDK documentation.

See Also

CLR Triggers
EVENTDATA (Transact-SQL)