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,
  IServiceData** ServiceData
);
[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

ServiceData [out, retval]

  ServiceData is a parameter of type IServiceData

Product Availability

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

See Also

IGraphicFeatureServer Interface

.NET Related Topics

Feature services |