NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RelationsCollection Class

Represents the collection of relations, each of which allows navigation between related parent/child tables.

Object
   BaseCollection
      RelationsCollection

[Visual Basic]
MustInherit Public Class RelationsCollection
   Inherits BaseCollection
[C#]
public abstract class RelationsCollection : BaseCollection
[C++]
public __gc __abstract class RelationsCollection : public
   BaseCollection
[JScript]
public abstract class RelationsCollection extends BaseCollection

Remarks

The RelationsCollection contains all of the DataRelation objects for a DataSet. To access the collection, use the Relations property.

The RelationsCollection has the standard collection methods Add, Clear, and Remove as well as an All method to return the collection as an array.

Requirements

Namespace: System.Data

Assembly: System.Data.dll

See Also

RelationsCollection Members | System.Data Namespace | Add | DataSet | Relations | DataRelation | Remove