This document is archived and information here might be outdated.  Recommended version.


IMapServer4.QueryData Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.QueryData Method

Returns a record set of rows that meet the query filter selection criteria for the specified table.

[Visual Basic .NET]
Public Function QueryData ( _
    ByVal MapName As String, _
    ByVal pMapTableDescription As IMapTableDescription, _
    ByVal Filter As IQueryFilter, _
    ByVal options As IQueryResultOptions _
) As IQueryResult
[C#]
public IQueryResult QueryData (
    string MapName,
    IMapTableDescription pMapTableDescription,
    IQueryFilter Filter,
    IQueryResultOptions options
);
[C++]
HRESULT QueryData(
  BSTR MapName,
  IMapTableDescription* pMapTableDescription,
  IQueryFilter* Filter,
  IQueryResultOptions* options,
  IQueryResult** QueryResult
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR pMapTableDescription [in]
pMapTableDescription is a parameter of type IMapTableDescription Filter [in]
Filter is a parameter of type IQueryFilter options [in]
options is a parameter of type IQueryResultOptions QueryResult [out, retval]
QueryResult is a parameter of type IQueryResult

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapServer4 Interface