ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / RegistrationType Enumeration
Example Example Version

RegistrationType Enumeration
Specifies the registration type of a dataset.
Syntax
Members
MemberDescription
Nonversioned Registered as non-versioned.
Versioned Registered as versioned.
VersionedWithMoveToBase Registered as versioned with the option of moving edits to base.
Example
Check if table is versioned
public bool IsTableVersioned(Geodatabase geodatabase, string tableName)
{
    using (Table table = geodatabase.OpenDataset<Table>(tableName))
    {
        // Check table version type
        RegistrationType registrationType = table.GetRegistrationType();
        if (registrationType == RegistrationType.Versioned)
        {
            return true;
        }
    }
    return false;
}
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ArcGIS.Core.Data.RegistrationType

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also