Export (0) Print
Expand All

Column.Rename Method

Renames the column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Rename(
	string newname
)

Parameters

newname
Type: String
A String value that specifies the new name of the column.

Implements

IRenamableRename(String)

NoteNote

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft