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


AGSLocatorWorkspace Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Classes > A > AGSLocatorWorkspace Class
ArcGIS Developer Help

AGSLocatorWorkspaceClass Class

A locator workspace that exposes geocoding services from an ArcGIS Server.

Product Availability

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

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IAGSLocatorWorkspace Provides access to members for inspecting an ArcGIS server locator workspace.
ILocatorAttach Provides access to members that attach locators to datasets.
ILocatorAttach2 Provides access to members that attach locators to datasets.
ILocatorWorkspace (esriGeoDatabase) Provides access to members for managing the locators in the locator workspace.
ISupportErrorInfo (esriSystem)

Remarks

An AGSLocatorWorkspace is a read-only locator workspace that contains locators representing GeocodeServer objects served by an ArcGIS Server. Because it is a read-only locator workspace, developers cannot modify the set of locators in an AGSLocatorWorkspace using the ILocatorWorkspace interface.

AGSLocatorWorkspaces contain locators but do not contain locator styles.

See Also

ServerObjectAdmin Class | AGSLocatorWorkspace Class | ILocatorManager2.GetAGSLocatorWorkspace Method | GeocodeServer Class | AGSAddressLocator Class | ILocatorWorkspaceName2.AGSServerConnectionName Property | ServerObject Class | IEnumServerObjectTypeInfo Interface | IEnumServerObjectType Interface | AGSAddressLocator Class | ILocatorManager2.GetAGSLocatorWorkspace Method