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


ILocatorWorkspace2.RebuildLocator Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ILocatorWorkspace2.RebuildLocator Method

Rebuilds a locator.

[Visual Basic .NET]
Public Sub RebuildLocator ( _
    ByVal Name As String, _
    ByVal CancelTracker As ITrackCancel _
)
[C#]
public void RebuildLocator (
    string Name,
    ITrackCancel CancelTracker
);
[C++]
HRESULT RebuildLocator(
  BSTR Name,
  ITrackCancel* CancelTracker
);
[C++]

Parameters Name [in]
Name is a parameter of type BSTR CancelTracker [in]
CancelTracker is a parameter of type ITrackCancel*

Product Availability

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

Description

The RebuildLocator method rebuilds a locator in a locator workspace.

Remarks

The Name parameter is the name of the locator you want to rebuild in the locator workspace.

In ArcSDE workspaces, locator names are prefixed by the name of the ArcSDE user that owns the locator, as in "jack.My Locator".  When you call methods in ArcObjects that have parameters that specify locators in a ArcSDE workspace, you must specify the full name of the locator, including the user name. Failing to do so will result in an error.  

See Also

ILocatorWorkspace2 Interface | ILocatorWorkspace2 Interface | ILocatorWorkspace Interface | ILocatorWorkspaceName Interface | LocatorEnumerator Class | LocatorWorkspaceName Class | ILocatorWorkspaceName2 Interface | ILocatorManager Interface | LocalLocatorWorkspace Class | DatabaseLocatorWorkspace Class | IDatabaseLocatorWorkspace Interface | ILocatorManager2 Interface | LocatorManager Class | ILocatorManager.GetLocatorWorkspaceFromPath Method