This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IL > ILocatorManager2 Interface > ILocatorManager2.GetAGSLocatorWorkspace Method (ArcObjects .NET 10.4 SDK) |
Returns the locator workspace for an ArcGIS server connection.
[Visual Basic .NET] Public Function GetAGSLocatorWorkspace ( _ ByVal serverConnection As IAGSServerConnectionName _ ) As ILocatorWorkspace
[C#] public ILocatorWorkspace GetAGSLocatorWorkspace ( IAGSServerConnectionName serverConnection );
[C++]
HRESULT GetAGSLocatorWorkspace(
IAGSServerConnectionName* serverConnection,
ILocatorWorkspace** locWks
);
[C++]
Parameters serverConnection [in]
serverConnection is a parameter of type IAGSServerConnectionName locWks [out, retval]
locWks is a parameter of type ILocatorWorkspace
An ArcGIS Server can serve GeocodeServers, which can be used by ArcGIS like any other locator. Use this method to return a reference to an AGSLocatorWorkspace that contains locators that represent the GeocodeServers served by the ArcGIS Server. The serverConnection parameter is a reference to an AGSServerConnectionName object that represents the ArcGIS Server connection.
ILocatorManager2 Interface | AGSLocatorWorkspace Class | ILocatorManager2.GetAGSLocatorWorkspace Method | GeocodeServer Class | AGSAddressLocator Class | ILocatorWorkspaceName2.AGSServerConnectionName Property | ServerObject Class | IEnumServerObjectTypeInfo Interface | IEnumServerObjectType Interface | AGSAddressLocator Class | ILocatorManager2.GetAGSLocatorWorkspace Method