layerId property

int get layerId

The layer ID that defines the layer within the feature service portal item.