NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RelationsCollection.Remove (DataRelation)

Removes the given relation from the collection. An ArgumentNullException is thrown if this relation is null. An ArgumentException is thrown if this relation doesn't belong to this collection. The CollectionChanged event is fired if it succeeds.

[Visual Basic]
Overloads Public Sub Remove( _
   ByVal relation As DataRelation _
)
[C#]
public void Remove(
   DataRelation relation
);
[C++]
public: void Remove(
   DataRelation* relation
);
[JScript]
public function Remove(
   relation : DataRelation
);

Parameters

relation
The relation to remove.

See Also

RelationsCollection Class | RelationsCollection Members | System.Data Namespace | RelationsCollection.Remove Overload List