Column.Rename 메서드
Renames the column.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Rename ( _
newname As String _
)
‘사용 방법
Dim instance As Column
Dim newname As String
instance.Rename(newname)
public void Rename(
string newname
)
public:
virtual void Rename(
String^ newname
) sealed
abstract Rename :
newname:string -> unit
override Rename :
newname:string -> unit
public final function Rename(
newname : String
)
매개 변수
- newname
유형: System.String
A String value that specifies the new name of the column.
구현
주의
[!참고]
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스