ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
QueryFunctionality Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace : QueryFunctionality Class




Provides methods and properties for querying maps in the Web ADF through an ArcGIS Server service.

Object Model



Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class QueryFunctionality 
   Implements IGISFunctionalityIQueryFunctionality 
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
C# 
[SerializableAttribute()]
public class QueryFunctionality : IGISFunctionalityIQueryFunctionality  

Remarks

QueryFunctionality enables clients working with the Web ADF to query map services for map features and other information. A QueryFunctionality is obtained through a map resource--for ArcGIS Server, specifically a MapResourceInternet (for Internet/Web service connections) or MapResourceLocal (for Local connections). The map resource's CreateFunctionality method may be used to obtain a QueryFunctionality object. If working with a Map control, the typical approach is to obtain the MapFunctionality from the Map control, using the Map.GetFunctionalities or Map.GetFunctionality methods. Then obtain the resource from the MapFunctionality, and use CreateFunctionality to obtain a QueryFunctionality.

With the QueryFunctionality, you can perform a Query based on attribute and/or spatial criteria. The Identify method provides a shorthand way of querying for features in or near a geometric shape. The Find method provides another way to search for features based on a string value.

This QueryFunctionality class is the implementation of IQueryFunctionality for ArcGIS Server services. You can work at the generic interface level so that your code will also function with any Web ADF data source (ArcIMS, OGC WMS, etc.).

For a discussion of functionalities in the Web ADF, see the topic Working with resources and functionalities in the Developer Help.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.QueryFunctionality

See Also

© 2010 All Rights Reserved.