VistaDB 5






VistaDB Namespace > TriggerContext Class : IsUpdatedColumn Method
The zero-based ordinal of the column.
IsUpdatedColumn Method
Returns true if a column was affected by an INSERT or UPDATE statement.
Syntax
'Declaration
 
Public Function IsUpdatedColumn( _
   ByVal columnOrdinal As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As TriggerContext
Dim columnOrdinal As System.Integer
Dim value As System.Boolean
 
value = instance.IsUpdatedColumn(columnOrdinal)
public System.bool IsUpdatedColumn( 
   System.int columnOrdinal
)
public function IsUpdatedColumn( 
    columnOrdinal: System.Integer
): System.Boolean; 
public function IsUpdatedColumn( 
   columnOrdinal : System.int
) : System.boolean;
public: System.bool IsUpdatedColumn( 
   System.int columnOrdinal
) 
public:
System.bool IsUpdatedColumn( 
   System.int columnOrdinal
) 

Parameters

columnOrdinal
The zero-based ordinal of the column.

Return Value

True if the column was affected by an INSERT or UPDATE operation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also