ForeignKeyColumnCollection.Remove Method (ForeignKeyColumn)
Removes a ForeignKeyColumn object from the foreign key column collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
foreignKeyColumn As ForeignKeyColumn _
)
'Usage
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn
instance.Remove(foreignKeyColumn)
public void Remove(
ForeignKeyColumn foreignKeyColumn
)
public:
void Remove(
ForeignKeyColumn^ foreignKeyColumn
)
member Remove :
foreignKeyColumn:ForeignKeyColumn -> unit
public function Remove(
foreignKeyColumn : ForeignKeyColumn
)
Parameters
- foreignKeyColumn
Type: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that specifies the foreign key column to be removed from the ForeignKeyColumnCollection object.