ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromFindResults(MapServerFindResult[],MapServerInfo,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class > FromFindResults Method : FromFindResults(MapServerFindResult[],MapServerInfo,Int32) Method




results
A MapServerFindResult with output from a Find operation.
mapServerInfo
A MapServerInfo object with information about the ArcGIS map server.
maxRecords
Maximum number of records in the find result to convert.
Converts the ArcGIS Server Find results to a DataTable suitable for display in the Web ADF.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function FromFindResults( _
   ByVal results() As ESRI.ArcGIS.ADF.ArcGISServer.MapServerFindResult, _
   ByVal mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo, _
   ByVal maxRecords As Integer _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim results() As ESRI.ArcGIS.ADF.ArcGISServer.MapServerFindResult
Dim mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo
Dim maxRecords As Integer
Dim value() As DataTable
 
value = Converter.FromFindResults(results, mapServerInfo, maxRecords)
C# 
public static DataTable[] FromFindResults( 
   ESRI.ArcGIS.ADF.ArcGISServer.MapServerFindResult[] results,
   ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo mapServerInfo,
   int maxRecords
)

Parameters

results
A MapServerFindResult with output from a Find operation.
mapServerInfo
A MapServerInfo object with information about the ArcGIS map server.
maxRecords
Maximum number of records in the find result to convert.

Return Value

An array of DataTable with the results output. Each DataTable is a FeatureGraphicsLayer if the input table contains feature geometry.

Requirements

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

See Also

© 2011 All Rights Reserved.