![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer | |
QueryFunctionality Class | |
Members See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace : QueryFunctionality Class |

Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class QueryFunctionality Implements ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.IQueryFunctionality |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As QueryFunctionality |
C# | |
---|---|
[SerializableAttribute()] public class QueryFunctionality : ESRI.ArcGIS.ADF.Web.DataSources.IGISFunctionality, ESRI.ArcGIS.ADF.Web.DataSources.IQueryFunctionality |
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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family