'Declaration
Overloads Function AlterColumnType( _ ByVal name As System.String, _ ByVal newType As VistaDBType, _ ByVal newMaxLen As System.Integer _ ) As IVistaDBColumnAttributes
'Usage
Dim instance As IVistaDBTableSchema Dim name As System.String Dim newType As VistaDBType Dim newMaxLen As System.Integer Dim value As IVistaDBColumnAttributes value = instance.AlterColumnType(name, newType, newMaxLen)
IVistaDBColumnAttributes AlterColumnType( System.string name, VistaDBType newType, System.int newMaxLen )
Parameters
- name
- Name of the existing column
- newType
- New VistaDBType type for the column
- newMaxLen
- New maximum length for character column. If new VistaDBType type doesn't support this maximum the parameter has no effect. Pass 0 value to use existing maxLen.
Return Value
IVistaDBColumnAttributes describing altered column