Column.Rename(String) Column.Rename(String) Column.Rename(String) Method

Definition

Renames the column.

public:
 virtual void Rename(System::String ^ newname);
public void Rename (string newname);
Public Sub Rename (newname As String)
Parameters
newname
String String String

A String value that specifies the new name of the column.

Examples

Working with Database Objects

Remarks

Note

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

Applies to