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


IMapServer4.QueryRelatedRecords Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.QueryRelatedRecords Method

Returns the IDs of the rows that meet the query filter selection criteria for the specified table.

[Visual Basic .NET]
Public Function QueryRelatedRecords ( _
    ByVal MapName As String, _
    ByVal sourceTable As Integer, _
    ByVal pFIDs As IFIDSet, _
    ByVal RelateDescription As IRelateDescription _
) As IQueryResult
[C#]
public IQueryResult QueryRelatedRecords (
    string MapName,
    int sourceTable,
    IFIDSet pFIDs,
    IRelateDescription RelateDescription
);
[C++]
HRESULT QueryRelatedRecords(
  BSTR MapName,
  long sourceTable,
  IFIDSet* pFIDs,
  IRelateDescription* RelateDescription,
  IQueryResult** ppQueryResult
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR sourceTable [in] sourceTable is a parameter of type long pFIDs [in]
pFIDs is a parameter of type IFIDSet RelateDescription [in]
RelateDescription is a parameter of type IRelateDescription ppQueryResult [out, retval]
ppQueryResult is a parameter of type IQueryResult

Product Availability

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

See Also

IMapServer4 Interface