Export (0) Print
Expand All

ForeignKey.Rename Method

Renames the foreign key to the specified new name.

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 foreign key.

Implements

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

Community Additions

ADD
Show:
© 2014 Microsoft