ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data Namespace / AttributedRelationshipClass Class / GetArchiveTable Method

In This Topic
    GetArchiveTable Method (AttributedRelationshipClass)
    In This Topic
    Gets the archive table associated with this attributed relationship class's intermediate table if it is archived-enabled. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Table GetArchiveTable()
    Public Function GetArchiveTable() As Table

    Return Value

    The archive table associated with this attributed relationship class's intermediate table if it is archived-enabled.
    Exceptions
    ExceptionDescription
    This attributed relationship class's intermediate table is not archive-enabled or does not support archiving.
    A geodatabase-related exception has occurred.
    Remarks
    If IsArchiveEnabled returns false, calling this method will result in an exception.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also