Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataSet.OnRemoveRelation Method

Occurs when a DataRelation object is removed from a DataTable.

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

Parameters

relation
The DataRelation being removed.

Remarks

This method should be overridden by subclasses to restrict tables being removed

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

DataSet Class | DataSet Members | System.Data Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft