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


IGraphicFeatureServer.Query Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer.Query Method

[Visual Basic .NET]
Public Function Query ( _
    ByVal LayerOrTableID As Integer, _
    ByVal DefinitionExpression As String, _
    ByVal queryFilter As IQueryFilter, _
    ByVal ServiceDataOptions As IServiceDataOptions _
) As IServiceData
[C#]
public IServiceData Query (
    int LayerOrTableID,
    string DefinitionExpression,
    IQueryFilter queryFilter,
    IServiceDataOptions ServiceDataOptions
);
[C++]
HRESULT Query(
  long LayerOrTableID,
  BSTR DefinitionExpression,
  IQueryFilter* queryFilter,
  IServiceDataOptions* ServiceDataOptions
);
[C++]

Parameters LayerOrTableID [in]
LayerOrTableID is a parameter of type long DefinitionExpression [in]
DefinitionExpression is a parameter of type BSTR queryFilter [in]
queryFilter is a parameter of type IQueryFilter* ServiceDataOptions [in]
ServiceDataOptions is a parameter of type IServiceDataOptions*

Product Availability

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

See Also

IGraphicFeatureServer Interface

.NET Related Topics

Feature services