Redigera

Dela via


DataSet.OnRemoveRelation(DataRelation) Method

Definition

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