Gets the SQL syntax information for the specified layer.
GetSQLSyntaxInfo(string MapName, int LayerID)
Parameter |
Description |
MapName |
The name of the map (data frame) that contains the layer to be queried. |
LayerID |
The layer id of the layer on which SQL syntax information will be retrieved. |
Return Value
A SQLSyntaxInfo object containing information about the SQL capabilities of the specific layer.
Remarks
Using the appropriate SQL syntax and being aware of layer capabilities is important when creating queries for layer content. The appropriate SQL syntax that can be used with a layer depends on the database in which it is managed.
Examples