ArcGIS Pro 2.8 API Reference Guide
SetObjectIDFields Method

ArcGIS.Core.Data Namespace > QueryDescription Class : SetObjectIDFields Method
A comma-separated unique key field(s).
Sets the unique key field(s) that fulfill the role of a table's objectID. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetObjectIDFields( 
   string objectIDFields
)
Public Sub SetObjectIDFields( _
   ByVal objectIDFields As String _
) 

Parameters

objectIDFields
A comma-separated unique key field(s).
Exceptions
ExceptionDescription
A database-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

QueryDescription Class
QueryDescription Members