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
[C#]
public virtual bool CanRemove(
 DataRelation relation
);
[C++]
public: virtual bool CanRemove(
 DataRelation* relation
);
[JScript]
public function CanRemove(
   relation : DataRelation
) : Boolean;

Parameters

relation
The relation to perform the check against.

Return Value

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

Requirements

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

Show:
© 2014 Microsoft