Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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: System.Int32
An Int32 value that specifies the index position of the foreign key column collection.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.