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
'Bildirim
Public Sub Add ( _
foreignKeyColumn As ForeignKeyColumn _
)
'Kullanım
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
- foreignKeyColumn
Type: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that is to be added into the foreign key column collection.