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.

Return to top
Show: