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


INALocator.RemoveLocatorAgent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator Interface > INALocator.RemoveLocatorAgent Method
ArcGIS Developer Help

INALocator.RemoveLocatorAgent Method

Remove a locator agent by index.

[Visual Basic .NET]
Public Sub RemoveLocatorAgent ( _
    ByVal Index As Integer _
)
[C#]
public void RemoveLocatorAgent (
    int Index
);
[C++]
HRESULT RemoveLocatorAgent(
  long Index
);
[C++]
Parameters
Index [in]

Index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

RemoveLocatorAgent removes a locator agent from the NALocator's collection.

See Also

INALocator Interface