Rename a column.

Namespace:  Mindscape.LightSpeed.Migrations
Assembly:  Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)

Syntax

C#
protected void RenameColumn(
	string tableName,
	string owner,
	string columnName,
	string newColumnName
)
Visual Basic (Declaration)
Protected Sub RenameColumn ( _
	tableName As String, _
	owner As String, _
	columnName As String, _
	newColumnName As String _
)

Parameters

tableName
Type: System..::.String
The name of the table that the column belongs to.
owner
Type: System..::.String
The owner/schema name that the table belongs to. If empty the database default is used.
columnName
Type: System..::.String
The name of the column to rename.
newColumnName
Type: System..::.String
The new name for the column.

See Also