CanRemove Method

DataRelationCollection.CanRemove Method (DataRelation)

 

Verifies whether the specified DataRelation can be removed from the collection.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public virtual bool CanRemove(
	DataRelation relation
)

Parameters

relation
Type: System.Data.DataRelation

The relation to perform the check against.

Return Value

Type: System.Boolean

true if the DataRelation can be removed; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft