Share via


SqlTriggerContext.ColumnCount Property

Definition

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.

Applies to