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
)

Parameters

foreignKey
Type: Microsoft.SqlServer.Management.Smo.ForeignKey

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

Return to top
Show: