SqlTriggerContext.ColumnCount Property
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.
Gets the number of columns contained by the data table bound to the trigger. This property is read-only.
public:
property int ColumnCount { int get(); };
public int ColumnCount { get; }
member this.ColumnCount : int
Public ReadOnly Property ColumnCount As Integer
Property Value
The number of columns contained by the data table bound to the trigger, as an integer.
Remarks
ColumnCount property is useful to determine the maximum ordinal that IsUpdatedColumn allows for a given trigger invocation.