System.Data.DataRelationCollection.Remove Method

Removes the specified relation from the collection.

Syntax

public void Remove (DataRelation relation)

Parameters

relation
The relation to remove.

Remarks

The DataRelationCollection.CollectionChanged event is fired if the remove operation succeeds. Note that removing the relation does not remove any associated constraint objects.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0