DataSet.OnRemoveRelation(DataRelation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a DataRelation object is removed from a DataTable.
protected:
virtual void OnRemoveRelation(System::Data::DataRelation ^ relation);
protected virtual void OnRemoveRelation (System.Data.DataRelation relation);
abstract member OnRemoveRelation : System.Data.DataRelation -> unit
override this.OnRemoveRelation : System.Data.DataRelation -> unit
Protected Overridable Sub OnRemoveRelation (relation As DataRelation)
Parameters
- relation
- DataRelation
The DataRelation being removed.
Remarks
This method should be overridden by subclasses to restrict tables being removed
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.