ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
FromFindResults(MapServerFindResult[],MapServerInfo,Int32,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class > FromFindResults Method : FromFindResults(MapServerFindResult[],MapServerInfo,Int32,Boolean) 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.
fieldNamesNotAliases
Whether results contain field names as the keys instead of the field aliases.
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, _
   ByVal fieldNamesNotAliases As Boolean _
) As DataTable()
Visual Basic (Usage)Copy Code
Dim results() As MapServerFindResult
Dim mapServerInfo As MapServerInfo
Dim maxRecords As Integer
Dim fieldNamesNotAliases As Boolean
Dim value() As DataTable
 
value = Converter.FromFindResults(results, mapServerInfo, maxRecords, fieldNamesNotAliases)
C# 
public static DataTable[] FromFindResults( 
   MapServerFindResult[] results,
   MapServerInfo mapServerInfo,
   int maxRecords,
   bool fieldNamesNotAliases
)

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.
fieldNamesNotAliases
Whether results contain field names as the keys instead of the field aliases.

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.