Export (0) Print
Expand All

DataRelationCollection.CanRemove Method

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

[Visual Basic]
Public Overridable Function CanRemove( _
   ByVal relation As DataRelation _
) As Boolean
public virtual bool CanRemove(
 DataRelation relation
public: virtual bool CanRemove(
 DataRelation* relation
public function CanRemove(
   relation : DataRelation
) : Boolean;


The relation to perform the check against.

Return Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataRelationCollection Class | DataRelationCollection Members | System.Data Namespace

© 2014 Microsoft