Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ForeignKeyCollection.Add Method (ForeignKey)


Adds a ForeignKey object to the foreign key collection.

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

public void Add(
	ForeignKey foreignKey


Type: Microsoft.SqlServer.Management.Smo.ForeignKey

A ForeignKey object value that is to be added into the foreign key collection.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft