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


IMapServer4.QueryRelatedRecords2 Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.QueryRelatedRecords2 Method

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

[Visual Basic .NET]
Public Function QueryRelatedRecords2 ( _
    ByVal MapName As String, _
    ByVal pTableDescription As IMapTableDescription, _
    ByVal pFIDs As IFIDSet, _
    ByVal RelateDescription As IRelateDescription _
) As IQueryResult
[C#]
public IQueryResult QueryRelatedRecords2 (
    string MapName,
    IMapTableDescription pTableDescription,
    IFIDSet pFIDs,
    IRelateDescription RelateDescription
);
[C++]
HRESULT QueryRelatedRecords2(
  BSTR MapName,
  IMapTableDescription* pTableDescription,
  IFIDSet* pFIDs,
  IRelateDescription* RelateDescription,
  IQueryResult** ppQueryResult
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR pTableDescription [in]
pTableDescription is a parameter of type IMapTableDescription 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