ArcObjects Library Reference (Location)  

AGSLocatorWorkspace Class

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

AGSLocatorWorkspace is a non-creatable object. References to non-creatable objects must be obtained through other objects.

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 Indicates whether a specific interface can return Automation error objects.

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

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