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 | AGSAddressLocator Class | ILocatorManager2.GetAGSLocatorWorkspace Method | ILocatorWorkspaceName2.AGSServerConnectionName Property | GeocodeServer Class | IEnumServerObjectTypeInfo Interface | ServerObject Class | IEnumServerObjectType Interface | ILocatorManager2.GetAGSLocatorWorkspace Method