VistaDB 5






VistaDB.DDA Namespace > IVistaDBTableSchema Interface > AlterColumnType Method : AlterColumnType(String,VistaDBType) Method
Name of the existing column
New VistaDBType type for the column
AlterColumnType(String,VistaDBType) Method
Alter the type of existing column
Syntax
'Declaration
 
Overloads Function AlterColumnType( _
   ByVal name As System.String, _
   ByVal newType As VistaDBType _
) As IVistaDBColumnAttributes
'Usage
 
Dim instance As IVistaDBTableSchema
Dim name As System.String
Dim newType As VistaDBType
Dim value As IVistaDBColumnAttributes
 
value = instance.AlterColumnType(name, newType)
IVistaDBColumnAttributes AlterColumnType( 
   System.string name,
   VistaDBType newType
)
function AlterColumnType( 
    name: System.String;
    newType: VistaDBType
): IVistaDBColumnAttributes; 
function AlterColumnType( 
   name : System.String,
   newType : VistaDBType
) : IVistaDBColumnAttributes;
IVistaDBColumnAttributes* AlterColumnType( 
   System.string* name,
   VistaDBType newType
) 
IVistaDBColumnAttributes^ AlterColumnType( 
   System.String^ name,
   VistaDBType newType
) 

Parameters

name
Name of the existing column
newType
New VistaDBType type for 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