Op Englesch liesen

Deelen iwwer


SqlTriggerContext.IsUpdatedColumn(Int32) Method

Definition

Returns true if a column was affected by an INSERT or UPDATE statement.

C#
public bool IsUpdatedColumn (int columnOrdinal);

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.

Applies to

Produkt Versiounen
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1