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


IGraphicFeatureServer2.QueryFromService2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicFeatureServer2 Interface > IGraphicFeatureServer2.QueryFromService2 Method
ArcGIS Developer Help

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