ForeignKey.MarkForDrop Method (Boolean)
Marks the foreign key to be dropped the next time its parent Table object is altered by the Alter method.
Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Return to top
public void MarkForDrop(
A Boolean value that specifies whether to drop the foreign key when its parent Table object is altered with the Alter method.
If True, the foreign key is dropped when the Alter method is run on the parent Table object.
If False, the foreign key is dropped immediately.
(1500 characters remaining)
Thank you for your feedback