ForeignKeyColumnCollection.Remove(ForeignKeyColumn) ForeignKeyColumnCollection.Remove(ForeignKeyColumn) Method

Definition

Removes the ForeignKeyColumnCollection object.

Removes a ForeignKeyColumn object from the foreign key column collection.

public:
 void Remove(Microsoft::SqlServer::Management::Smo::ForeignKeyColumn ^ foreignKeyColumn);
public void Remove (Microsoft.SqlServer.Management.Smo.ForeignKeyColumn foreignKeyColumn);
Parameters
foreignKeyColumn
ForeignKeyColumn ForeignKeyColumn

A ForeignKeyColumn object value that specifies the foreign key column to be removed from the ForeignKeyColumnCollection object.

Examples

Using Collections

Applies to