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