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


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

IGraphicFeatureServer.QueryRelatedObjects Method

[Visual Basic .NET]
Public Function QueryRelatedObjects ( _
    ByVal sourceLayerOrTableID As Integer, _
    ByVal objectIDsInSource As ILongArray, _
    ByVal RelationshipID As Integer, _
    ByVal targetDefinitionExpression As String, _
    ByVal targetTableProps As String, _
    ByVal groupBySourceOIDs As Boolean, _
    ByVal outSR As ISpatialReference, _
    ByVal outTR As ITimeReference, _
    ByVal ServiceDataOptions As IServiceDataOptions _
) As IServiceData
[C#]
public IServiceData QueryRelatedObjects (
    int sourceLayerOrTableID,
    ILongArray objectIDsInSource,
    int RelationshipID,
    string targetDefinitionExpression,
    string targetTableProps,
    bool groupBySourceOIDs,
    ISpatialReference outSR,
    ITimeReference outTR,
    IServiceDataOptions ServiceDataOptions
);
[C++]
HRESULT QueryRelatedObjects(
  long sourceLayerOrTableID,
  ILongArray* objectIDsInSource,
  long RelationshipID,
  BSTR targetDefinitionExpression,
  BSTR targetTableProps,
  VARIANT_BOOL groupBySourceOIDs,
  ISpatialReference* outSR,
  ITimeReference* outTR,
  IServiceDataOptions* ServiceDataOptions
);
[C++]
Parameters
sourceLayerOrTableID [in]

sourceLayerOrTableID is a parameter of type long objectIDsInSource [in]
objectIDsInSource is a parameter of type ILongArray* RelationshipID [in]
RelationshipID is a parameter of type long targetDefinitionExpression [in]
targetDefinitionExpression is a parameter of type BSTR targetTableProps [in]
targetTableProps is a parameter of type BSTR groupBySourceOIDs [in]
groupBySourceOIDs is a parameter of type bool outSR [in]
outSR is a parameter of type ISpatialReference* outTR [in]
outTR is a parameter of type ITimeReference* ServiceDataOptions [in]
ServiceDataOptions is a parameter of type IServiceDataOptions*

Product Availability

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

See Also

IGraphicFeatureServer Interface