ArcGIS Pro 2.7 API Reference Guide
ExecuteStatement Method

ArcGIS.Core.Data Namespace > DatabaseClient Class : ExecuteStatement Method
A valid instance of Geodatabase
A valid SQL statement.
Executes a specific statement on the database management system specified by geodatabase. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static void ExecuteStatement( 
   Geodatabase geodatabase,
   string statement
)
Public Shared Sub ExecuteStatement( _
   ByVal geodatabase As Geodatabase, _
   ByVal statement As String _
) 

Parameters

geodatabase
A valid instance of Geodatabase
statement
A valid SQL statement.
Exceptions
ExceptionDescription
geodatabase is null.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DatabaseClient Class
DatabaseClient Members