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

IGraphicFeatureServer2.QueryFromService2 Method

[Visual Basic .NET]
Public Function QueryFromService2 ( _
    ByVal gdbVersion As String, _
    ByVal layerOrTableDescriptions As IGFSTableDescriptions, _
    ByVal Geometry As IGeometry, _
    ByVal outSR As ISpatialReference, _
    ByVal outTR As ITimeReference, _
    ByVal maximumAllowableOffset As Double, _
    ByVal ServiceDataOptions As IServiceDataOptions _
) As IServiceData
[C#]
public IServiceData QueryFromService2 (
    string gdbVersion,
    IGFSTableDescriptions layerOrTableDescriptions,
    IGeometry Geometry,
    ISpatialReference outSR,
    ITimeReference outTR,
    double maximumAllowableOffset,
    IServiceDataOptions ServiceDataOptions
);
[C++]
HRESULT QueryFromService2(
  BSTR gdbVersion,
  IGFSTableDescriptions* layerOrTableDescriptions,
  IGeometry* Geometry,
  ISpatialReference* outSR,
  ITimeReference* outTR,
  double maximumAllowableOffset,
  IServiceDataOptions* ServiceDataOptions
);
[C++]

Parameters gdbVersion [in]
gdbVersion is a parameter of type BSTR layerOrTableDescriptions [in]
layerOrTableDescriptions is a parameter of type IGFSTableDescriptions* Geometry [in]
Geometry is a parameter of type IGeometry* outSR [in]
outSR is a parameter of type ISpatialReference* outTR [in]
outTR is a parameter of type ITimeReference* 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