ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / SchemaBuilder Class / Create Method / Create(FeatureDatasetDescription,AttributedRelationshipClassDescription) Method
Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.RelationshipClass will be created.
Indicates the ArcGIS.Core.Data.AttributedRelationshipClass to be created.

In This Topic
    Create(FeatureDatasetDescription,AttributedRelationshipClassDescription) Method
    In This Topic
    Enqueue the create operation on the object referred to by the AttributedRelationshipClassDescription. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Exceptions
    ExceptionDescription
    The relationship split policy, relationship rules, and/or the origin foreign key fields are invalid.
    attributedRelationshipClassDescription is null.
    Memory ArcGIS.Core.Data.Geodatabase does not support feature attributed relationship classes.
    The relationship split policy is not supported.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also