VistaDB 5

Name of the existing column
New name to assign to the column
AlterColumnName Method
Alter the name of a column
Function AlterColumnName( _
   ByVal oldName As System.String, _
   ByVal newName As System.String _
) As IVistaDBColumnAttributes
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
function AlterColumnName( 
    oldName: System.String;
    newName: System.String
): IVistaDBColumnAttributes; 
function AlterColumnName( 
   oldName : System.String,
   newName : System.String
) : IVistaDBColumnAttributes;
IVistaDBColumnAttributes* AlterColumnName( 
   System.string* oldName,
   System.string* newName
IVistaDBColumnAttributes^ AlterColumnName( 
   System.String^ oldName,
   System.String^ newName


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

Return Value

IVistaDBColumnAttributes describing altered column

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