DataSet.OnRemoveRelation(DataRelation) DataSet.OnRemoveRelation(DataRelation) DataSet.OnRemoveRelation(DataRelation) DataSet.OnRemoveRelation(DataRelation) Method

定义

当从 DataRelation 中移除 DataTable 对象时发生。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)

参数

relation
DataRelation DataRelation DataRelation DataRelation

正在移除的 DataRelationThe DataRelation being removed.

注解

此方法应由子类重写以限制要删除的表This method should be overridden by subclasses to restrict tables being removed

适用于

另请参阅