VistaDB 5

The current name of table to alter
Modified table schema
AlterTable Method
Alter table in according to new table schema
Sub AlterTable( _
   ByVal oldName As System.String, _
   ByVal schema As IVistaDBTableSchema _
Dim instance As IVistaDBDatabase
Dim oldName As System.String
Dim schema As IVistaDBTableSchema
instance.AlterTable(oldName, schema)
void AlterTable( 
   System.string oldName,
   IVistaDBTableSchema schema
procedure AlterTable( 
    oldName: System.String;
    schema: IVistaDBTableSchema
function AlterTable( 
   oldName : System.String,
   schema : IVistaDBTableSchema
void AlterTable( 
   System.string* oldName,
   IVistaDBTableSchema* schema
void AlterTable( 
   System.String^ oldName,
   IVistaDBTableSchema^ schema


The current name of table to alter
Modified table schema
You should get the instance of IVistaDBTableSchema by TableSchema, modify it and send to this method to apply table changes.

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