ForeignKey.Rename 메서드
Renames the foreign key to the specified new name.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Rename ( _
newName As String _
)
‘사용 방법
Dim instance As ForeignKey
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 foreign key.