ArcGIS Pro 2.6 API Reference Guide
GetTableNames Method (Database)

ArcGIS.Core.Data Namespace > Database Class : GetTableNames Method
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()
Public Function GetTableNames() As IReadOnlyList(Of String)

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 10, Windows 8.1, Windows 7

See Also

Reference

Database Class
Database Members