ArcGIS Pro 2.8 API Reference Guide
GetID Method (RelationshipClass)

ArcGIS.Core.Data Namespace > RelationshipClass Class : GetID Method
Gets the ID associated with this relationship class. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public long GetID()
Public Function GetID() As Long

Return Value

The relationship class's ID.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RelationshipClass Class
RelationshipClass Members