ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / SchemaBuilder Class / RemoveRelationshipClass Method / RemoveRelationshipClass(FeatureDatasetDescription,AttributedRelationshipClassDescription) Method
Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.AttributedRelationshipClass will be removed.
Indicates the ArcGIS.Core.Data.AttributedRelationshipClass to remove.

In This Topic
    RemoveRelationshipClass(FeatureDatasetDescription,AttributedRelationshipClassDescription) Method
    In This Topic
    Enqueue the Remove operation on the object referred to by the FeatureDatasetDescription and the AttributedRelationshipClassDescription.
    Syntax

    Parameters

    featureDatasetDescription
    Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.AttributedRelationshipClass will be removed.
    attributedRelationshipClassDescription
    Indicates the ArcGIS.Core.Data.AttributedRelationshipClass to remove.
    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 attributed 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