This document is archived and information here might be outdated.  Recommended version.


IMxdServerQuery Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMxdServerQuery Interface

Provides access to functionality that allows the client to query features on the map.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method ComputeDistance Computes the distance between two points on the specified map. The result is in the map units of the specified map.
Method ComputeScale Computes the scale of the specified map, at the given map extent, for an image with the given width, specified in pixels.
Method Find Returns an array of 'find objects' (that implement the IFindObject interface) that contain the given search string. If layerID is equal to -1, all layers are searched.
Method Identify Returns an array of 'identify objects' (that support the IIdentifyObj interface) at the given location. If layerID is equal to -1, the top-most visible layer with any results is used. If layerID is equal to -2, all visible layers will be queried.
Method QueryByLayer Returns a feature cursor for the specified layer based on the input parameters for the purpose of selecting based on another layer.
Method QueryFeatures Returns a feature cursor for the specified layer based on the given array of query filters. If there is more than one query filter in the array, they are 'ANDed' together.
Read-only property RelatedIdentifyObjects An array of 'identify objects' that are related to the specified identify object.

CoClasses that implement IMxdServerQuery

CoClasses and Classes Description
MxdServer The MxdServer component provides programmatic access to the contents of a map document on disk, and creates images of the map contents based on user requests. Designed for use in building map-based web services and web applications.