DataRelationCollection.Add Method (DataRelation)
Assembly: System.Data (in System.Data.dll)
The relation parameter is a null value.
The relation already belongs to this collection, or it belongs to another collection.
The collection already has a relation with the specified name. (The comparison is not case sensitive.)
The relation has entered an invalid state since it was created.
Available since 1.1