VistaDB 6
VistaDB.DDA Namespace / IVistaDBTableSchema Interface / AlterColumnName Method
Name of the existing column
New name to assign to the column


In This Topic
    AlterColumnName Method
    In This Topic
    Alter the name of a column
    Syntax
    'Declaration
     
    
    Function AlterColumnName( _
       ByVal oldName As System.String, _
       ByVal newName As System.String _
    ) As IVistaDBColumnAttributes
    'Usage
     
    
    Dim instance As IVistaDBTableSchema
    Dim oldName As System.String
    Dim newName As System.String
    Dim value As IVistaDBColumnAttributes
     
    value = instance.AlterColumnName(oldName, newName)
    IVistaDBColumnAttributes AlterColumnName( 
       System.string oldName,
       System.string newName
    )

    Parameters

    oldName
    Name of the existing column
    newName
    New name to assign to the column

    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