Export (0) Print
Expand All

ForeignKeyCollection.Remove Method (ForeignKey)

Removes a ForeignKey object from the foreign key collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Remove(
	ForeignKey foreignKey
)

Parameters

foreignKey
Type: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that specifies the foreign key to be removed from the foreign key collection.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft