ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / Database Class / GetTableNames Method
Version

GetTableNames Method (Database)
Gets the fully qualified name of all the tables that exist in the currently opened database. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<string> GetTableNames()

Return Value

A IReadOnlyList of fully qualified table names.
Exceptions
ExceptionDescription
A database-related exception has occurred.
Remarks
Depending on the database platform, each of the returned fully qualified name consists of either "databaseName.ownerName.tableName" (e.g., SQL Server) or "ownerName.tableName" (e.g., Oracle).
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also