ArcGIS Pro 2.6 API Reference Guide
SetDefinitionQuery Method (StandaloneTable)

ArcGIS.Desktop.Mapping Namespace > StandaloneTable Class : SetDefinitionQuery Method
A SQL expression.
Sets the definition query expression for the standalone table. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetDefinitionQuery( 
   string definitionQuery
)
Public Sub SetDefinitionQuery( _
   ByVal definitionQuery As String _
) 

Parameters

definitionQuery
A SQL expression.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
This allows you to filter rows from the standalone table by specifying definition query as you would in the Definition Query tab of the standalone table's properties dialog.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

StandaloneTable Class
StandaloneTable Members