Finds all reachable network elements that are upstream from all the specified origins.
[Visual Basic 6.0] Sub FindCommonAncestors(
ByVal flowElements As esriFlowElements, _
junctionEIDs As IEnumNetEID, _
edgeEIDs As IEnumNetEID _
)
[Visual Basic .NET] Public Sub FindCommonAncestors ( _ ByVal flowElements As esriFlowElements, _ ByRef junctionEIDs As IEnumNetEID, _ ByRef edgeEIDs As IEnumNetEID _ )
[C#] public void FindCommonAncestors ( esriFlowElements flowElements, ref IEnumNetEID junctionEIDs, ref IEnumNetEID edgeEIDs );
[Java] public void findCommonAncestors ( esriFlowElements flowElements, IEnumNetEID junctionEIDs, IEnumNetEID edgeEIDs ) throws IOException, AutomationException
[C++] HRESULT FindCommonAncestors( esriFlowElements flowElements, IEnumNetEID** junctionEIDs, IEnumNetEID** edgeEIDs );
Parameters
flowElements [in]
flowElements is a parameter of type esriFlowElements
junctionEIDs [out]
junctionEIDs is a parameter of type IEnumNetEID
edgeEIDs [out]
edgeEIDs is a parameter of type IEnumNetEID
The flowElements parameter determines whether edge elements, junction elements, or both are returned by the trace solver.
The trace solver will return the traced junction and edge element IDs in the junctionEIDs and edgeEIDs parameters respectively.
If you would like to allow or restrict tracing on edges with indeterminate or uninitialized flow, be sure to set the TraceIndeterminateFlow property prior to calling this trace solver.