ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromFindResults(MapServerFindResult[],MapServerInfo,Int32) Method
See Also 
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 MapServerFindResult, _
   ByVal mapServerInfo As MapServerInfo, _
   ByVal maxRecords As Integer _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim results() As MapServerFindResult
Dim mapServerInfo As MapServerInfo
Dim maxRecords As Integer
Dim value() As DataTable
 
value = Converter.FromFindResults(results, mapServerInfo, maxRecords)
C# 
public static DataTable[] FromFindResults( 
   MapServerFindResult[] results,
   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.

See Also

© 2010 All Rights Reserved.