MGDatabaseSetup.setKeyColumn   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

boolean setKeyColumn(String keyColumn)

Description

Sets the database column you specify as the key column for this layer.

This column provides the keys for map features on this layer.

Parameters

keyColumn - The name of the key column.

Error Codes

-1 (busy)

Returns

boolean - Returns True if successful; otherwise, returns False. If successful, sets the layer's rebuild flag to True.

See Also

getKeyColumn, KeyColumn