SqlContext::TriggerContext Property
.NET Framework (current version)
Gets the trigger context used to provide the caller with information about what caused the trigger to fire, and a map of the columns that were updated.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: Microsoft.SqlServer.Server::SqlTriggerContext^An instance of SqlTriggerContext if a trigger context is available, or null if called outside of a trigger invocation.
The SqlTriggerContext object can only be retrieved from within a common language runtime trigger.
If the TriggerContext property is accessed from outside of SQL Server, a NotSupportedException is thrown.
This property is read-only.
.NET Framework
Available since 2.0
Available since 2.0
Show: