This documentation is archived and is not being maintained.

DataRelationCollection.RemoveCore Method

Performs a verification on the specified DataRelation object.

[Visual Basic]
Protected Overridable Sub RemoveCore( _
   ByVal relation As DataRelation _
)
[C#]
protected virtual void RemoveCore(
 DataRelation relation
);
[C++]
protected: virtual void RemoveCore(
 DataRelation* relation
);
[JScript]
protected function RemoveCore(
   relation : DataRelation
);

Parameters

relation
The DataRelation object to verify.

Exceptions

Exception Type Condition
ArgumentNullException The collection does not have a relation at the specified index.
ArgumentException The specified relation does not belong to this collection, or it belongs to another collection.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

DataRelationCollection Class | DataRelationCollection Members | System.Data Namespace

Show: