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


ILocatorWorkspaceName2.AGSServerConnectionName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

ILocatorWorkspaceName2.AGSServerConnectionName Property

The name of the ArcGIS server connection that contains the locator workspace.

[Visual Basic .NET]
Public Property AGSServerConnectionName As IAGSServerConnectionName
[C#]
public IAGSServerConnectionName AGSServerConnectionName {get; set;}
[C++]
HRESULT get_AGSServerConnectionName(
  IAGSServerConnectionName** serverConnection
);
[C++]
HRESULT putref_AGSServerConnectionName(
  IAGSServerConnectionName* serverConnection
);
[C++]

Parameters serverConnection [out, retval]
serverConnection is a parameter of type IAGSServerConnectionName serverConnection [in]
serverConnection is a parameter of type IAGSServerConnectionName

Product Availability

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

Description

Returns an AGSServerConnectionName object that represents the ArcGIS Server connection that contains the locator workspace.

Remarks

If the locator workspace represented by the LocatorWorkspaceName object represents a locator workspace from an ArcGIS Server, this property returns a reference to an ArcGISServerConnectionName object that represents the ArcGIS Server connection.

See Also

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