IGraphicFeatureServer2.Query2 Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGraphicFeatureServer2.Query2 Method

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

Parameters gdbVersion [in]
gdbVersion is a parameter of type BSTR 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* maximumAllowableOffset [in]
maximumAllowableOffset is a parameter of type double ServiceDataOptions [in]
ServiceDataOptions is a parameter of type IServiceDataOptions*

Product Availability

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

See Also

IGraphicFeatureServer2 Interface