مشاركة عبر


ForeignKeyColumnCollection.Add Method (ForeignKeyColumn, String)

Adds a ForeignKeyColumn object to the position after a specified, existing ForeignKeyColumn object in the foreign key column collection.

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

Syntax

'Declaration
Public Sub Add ( _
    foreignKeyColumn As ForeignKeyColumn, _
    insertAtColumnName As String _
)
'Usage
Dim instance As ForeignKeyColumnCollection 
Dim foreignKeyColumn As ForeignKeyColumn 
Dim insertAtColumnName As String

instance.Add(foreignKeyColumn, insertAtColumnName)
public void Add(
    ForeignKeyColumn foreignKeyColumn,
    string insertAtColumnName
)
public:
void Add(
    ForeignKeyColumn^ foreignKeyColumn, 
    String^ insertAtColumnName
)
member Add : 
        foreignKeyColumn:ForeignKeyColumn * 
        insertAtColumnName:string -> unit
public function Add(
    foreignKeyColumn : ForeignKeyColumn, 
    insertAtColumnName : String
)

Parameters

Examples

Using Collections

See Also

Reference

ForeignKeyColumnCollection Class

Add Overload

Microsoft.SqlServer.Management.Smo Namespace