Export (0) Print
Expand All

ForeignKeyColumnCollection.Add Method (ForeignKeyColumn, Int32)

Adds a ForeignKeyColumn object at a specified index position in the foreign key column collection.

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

public void Add(
	ForeignKeyColumn foreignKeyColumn,
	int insertAtPosition
)

Parameters

foreignKeyColumn
Type: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that is to be added into the foreign key column collection.
insertAtPosition
Type: Int32
An Int32 value that specifies the index position of the foreign key column collection.

Community Additions

ADD
Show:
© 2014 Microsoft