Feature service GetServiceObjectCount method
Gets the count of features or objects for queries involving one or more layers and tables.
int GetServiceObjectCount(GFSTableDescription[] LayerOrTableDescriptions, Geometry Geometry, string VersionName)
Parameter |
Description |
---|---|
LayerOrTableDescriptions |
Describes the tables or layers and/or types of interest in the service . |
Geometry |
The geometric extent for which features are being queried. |
VersionName | Geodatabase version to query. This parameter only applies to feature services that expose geodatabases only. If not specified, queries are made against the published map's version. |
Return Value
Returns an integer representing the count of features or objects that meet the conditions provided in the table or layer descriptions, the version, and the extent of the geometry.