Dela via


ForeignKeyColumnCollection.Add Method (ForeignKeyColumn)

Adds a ForeignKeyColumn object to 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 _
)
'Usage
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn

instance.Add(foreignKeyColumn)
public void Add(
    ForeignKeyColumn foreignKeyColumn
)
public:
void Add(
    ForeignKeyColumn^ foreignKeyColumn
)
member Add : 
        foreignKeyColumn:ForeignKeyColumn -> unit 
public function Add(
    foreignKeyColumn : ForeignKeyColumn
)

Parameters