Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnRemoveRelation Method

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

Show:
© 2015 Microsoft