Interface ITracer
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to a network tracer.
[Guid("8A5938F3-74A8-43B9-961C-59083D327137")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITracer
Properties
ResultTypes
Returns the result types.
IArray ResultTypes { get; set; }
Property Value
TraceConfiguration
Returns trace configuration.
ITraceConfiguration TraceConfiguration { get; set; }
Property Value
TraceConfigurationGlobalID
Returns trace configuration global ID.
Guid TraceConfigurationGlobalID { get; set; }
Property Value
Methods
AddTraceLocation(esriTraceLocationType, esriElementType, long)
Adds a trace location.
void AddTraceLocation(esriTraceLocationType Type, esriElementType ElementType, long EID)
Parameters
TypeesriTraceLocationTypeElementTypeesriElementTypeEIDlong
AddTraceLocationForEdgeFeatures(esriTraceLocationType, IStringArray, IDoubleArray)
Adds trace location for edge features.
void AddTraceLocationForEdgeFeatures(esriTraceLocationType Type, IStringArray edgeGlobalIDs, IDoubleArray percentAlongLengths)
Parameters
TypeesriTraceLocationTypeedgeGlobalIDsIStringArraypercentAlongLengthsIDoubleArray
AddTraceLocationForJunctionFeatures(esriTraceLocationType, IStringArray, ILongArray)
Adds trace location for junction features.
void AddTraceLocationForJunctionFeatures(esriTraceLocationType Type, IStringArray junctionGlobalIDs, ILongArray TerminalIDs)
Parameters
TypeesriTraceLocationTypejunctionGlobalIDsIStringArrayTerminalIDsILongArray
AddTraceLocations(esriTraceLocationType, esriElementType[], long[])
Adds trace locations.
void AddTraceLocations(esriTraceLocationType Type, esriElementType[] ElementTypes, long[] EIDs)
Parameters
TypeesriTraceLocationTypeElementTypesesriElementType[]EIDslong[]
AddTraceLocationsFromGeometries(esriTraceLocationType, IArray)
Add the given geometries as trace locations.
void AddTraceLocationsFromGeometries(esriTraceLocationType Type, IArray geometries)
Parameters
TypeesriTraceLocationTypegeometriesIArray
DeleteTraceLocations(esriTraceLocationType)
Deletes all trace locations.
void DeleteTraceLocations(esriTraceLocationType Type)
Parameters
Initialize(IUtilityNetworkQuery, IDataElement)
Initializes the tracer.
void Initialize(IUtilityNetworkQuery unQuery, IDataElement Definition)
Parameters
unQueryIUtilityNetworkQueryDefinitionIDataElement
Trace(esriUtilityNetworkTraceType, out long[], out long[])
Execute the given trace.
void Trace(esriUtilityNetworkTraceType traceType, out long[] junctionEIDs, out long[] edgeEIDs)
Parameters
traceTypeesriUtilityNetworkTraceTypejunctionEIDslong[]edgeEIDslong[]
TraceEx(esriUtilityNetworkTraceType, bool, out long[], out long[])
Execute the given trace.
void TraceEx(esriUtilityNetworkTraceType traceType, bool asynchronous, out long[] junctionEIDs, out long[] edgeEIDs)
Parameters
traceTypeesriUtilityNetworkTraceTypeasynchronousbooljunctionEIDslong[]edgeEIDslong[]
TraceLocations(esriTraceLocationType, out esriElementType[], out long[])
Returns trace locations.
void TraceLocations(esriTraceLocationType Type, out esriElementType[] ElementTypes, out long[] EIDs)
Parameters
TypeesriTraceLocationTypeElementTypesesriElementType[]EIDslong[]