This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Classes > A > AGSLocatorWorkspace Class (ArcObjects .NET 10.4 SDK) |
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.
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 | 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. |
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.
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