VistaDB 5






Name of the column
New column order in the table row
AlterColumnOrder Method
Defines the new zero based column order for the column by its name in existing table schema. The other columns will be re-ordered in the table schema respectively.
Syntax
'Declaration
 
Function AlterColumnOrder( _
   ByVal name As System.String, _
   ByVal order As System.Integer _
) As IVistaDBColumnAttributes
'Usage
 
Dim instance As IVistaDBTableSchema
Dim name As System.String
Dim order As System.Integer
Dim value As IVistaDBColumnAttributes
 
value = instance.AlterColumnOrder(name, order)
IVistaDBColumnAttributes AlterColumnOrder( 
   System.string name,
   System.int order
)
function AlterColumnOrder( 
    name: System.String;
    order: System.Integer
): IVistaDBColumnAttributes; 
function AlterColumnOrder( 
   name : System.String,
   order : System.int
) : IVistaDBColumnAttributes;
IVistaDBColumnAttributes* AlterColumnOrder( 
   System.string* name,
   System.int order
) 
IVistaDBColumnAttributes^ AlterColumnOrder( 
   System.String^ name,
   System.int order
) 

Parameters

name
Name of the column
order
New column order in the table row

Return Value

IVistaDBColumnAttributes describing altered column
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