VistaDB 6
VistaDB.DDA Namespace / IVistaDBDatabase Interface / AlterTable Method
The current name of table to alter
Modified table schema


In This Topic
    AlterTable Method
    In This Topic
    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
    )

    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