layerIds property

List<int> get layerIds

A collection of IDs that identify the layers where this template can be used.

This can be used to query the database for these layers. A given layer helps determine available fields, symbology, default and applicable tools, default values, and relationships.