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

Create(FeatureDatasetDescription,RelationshipClassDescription) Method
Enqueue the create operation on the object referred to by the RelationshipClassDescription.
Syntax
Exceptions
ExceptionDescription
The relationship split policy and/or the relationship rules are invalid.
featureDatasetDescription and/or relationshipClassDescription is null.
Memory ArcGIS.Core.Data.Geodatabase does not support relationship classes.
The relationship split policy is not supported.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also