getTable

Returns a service feature table object from the ID of a layer or table in the service. If a table instance for the layer already exists in ServiceGeodatabase.connectedTables, the existing object will be returned. Otherwise, a new ServiceFeatureTable will be created.

If no table or layer exists in the service with the given ID, an ErrorType.CommonInvalidArgument error is thrown.

Return

A table instance for working with the table or layer in the feature service.

Since

200.1.0

Parameters

layerId

The layer id for which to create the table.