SqlTriggerContext.IsUpdatedColumn(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if a column was affected by an INSERT or UPDATE statement.
public:
bool IsUpdatedColumn(int columnOrdinal);
public bool IsUpdatedColumn (int columnOrdinal);
member this.IsUpdatedColumn : int -> bool
Public Function IsUpdatedColumn (columnOrdinal As Integer) As Boolean
Parameters
- columnOrdinal
- Int32
The zero-based ordinal of the column.
Returns
true
if the column was affected by an INSERT or UPDATE operation.
Exceptions
Called in the context of a trigger where the value of the TriggerAction property is not Insert
or Update
.