VistaDB 5






The current name of table to alter
Modified table schema
AlterTable Method
Alter table in according to new table schema
Syntax
'Declaration
 
Sub AlterTable( _
   ByVal oldName As System.String, _
   ByVal schema As IVistaDBTableSchema _
) 
'Usage
 
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
) 

Parameters

oldName
The current name of table to alter
schema
Modified table schema
Remarks
You should get the instance of IVistaDBTableSchema by TableSchema, modify it and send to this method to apply table changes.
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