ArcObjects Library Reference (GeoDatabase)  

IRelationshipRule Interface

Provides access to members that supply information about, modify and manage relationship rules.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IRelationshipRule interface provides properties for setting up a and managing a relationship rule. Relationship classes can be provided with relationship rules to control how which object subtypes from the origin class can be related to which object subtypes in the destination class. They can also be used to specify a valid cardinality range for all permissable subtype pairs.

Members

Description
Read/write property Category The name associated with the validation rule.
Read/write property DestinationClassID The ID of the destination ObjectClass.
Read/write property DestinationMaximumCardinality The maximum cardinality value of the destination ObjectClass.
Read/write property DestinationMinimumCardinality The minimum cardinality value of the destination ObjectClass.
Read/write property DestinationSubtypeCode The subtype value of the destination ObjectClass.
Read/write property Helpstring The helpstring associated with the validation rule.
Read/write property OriginClassID The ID of the origin ObjectClass.
Read/write property OriginMaximumCardinality The maximum cardinality value of the origin ObjectClass.
Read/write property OriginMinimumCardinality The minimum cardinality value of the origin ObjectClass.
Read/write property OriginSubtypeCode The subtype value of the origin ObjectClass.
Read-only property Type The type associated with the validation rule.

Inherited Interfaces

Interfaces Description
IRule Provides access to members that return information about rules.

CoClasses that implement IRelationshipRule

CoClasses and Classes Description
RelationshipRule ESRI relationship rule object.