ESRI.ArcGIS.ADF.IMS
SearchOrder Enumeration
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace : SearchOrder Enumeration




Used with ArcSDE layers only. Determines whether the attribute or spatial part of an ArcSDE query is processed first.

Syntax

Visual Basic (Declaration) 
Public Enum SearchOrder 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As SearchOrder
C# 
public enum SearchOrder : Enum 

Members

MemberDescription
Optimize ArcSde makes the judgement whether to pick the spatial or attribute portion of the query first.
SpatialFirst Specifies that the spatial portion of the query is to be processed before the attribute portion of the query.
AttributeFirst Specifies that the attribute portion of the query is to be processed before the spatial portion of the query.

Remarks

This property will only be used by the server when the Filter in the query includes both a WhereExpression and a Geometry element. FeatureLayer.Identify

Tip: be sure to create indexes for any attribute fields to be queried. When searching by attributes using a WhereExpression, having the attribute fields indexed can dramatically increase performance. Attribute indexes can be created with the ArcGIS ArcCatalog application, or directly in the database.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ESRI.ArcGIS.ADF.IMS.Carto.Layer.SearchOrder

See Also

© 2010 All Rights Reserved.