ArcObjects Library Reference  (Location)    

ILocatorWorkspaceName2.AGSServerConnectionName Property

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

[Visual Basic 6.0]
Property AGSServerConnectionName As IAGSServerConnectionName
[Visual Basic .NET]
Public Property AGSServerConnectionName As IAGSServerConnectionName
[C#]
public IAGSServerConnectionName AGSServerConnectionName {get; set;}
[Java]
public IAGSServerConnectionName getAGSServerConnectionName()
throws
    IOException,
    AutomationException
[Java]
public void setAGSServerConnectionNameByRef(
IAGSServerConnectionName pAGSServerConnectionName
)
throws
    IOException,
    AutomationException
[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 | AGSAddressLocator Class | ILocatorWorkspaceName2.AGSServerConnectionName Property | ILocatorManager2.GetAGSLocatorWorkspace Method | GeocodeServer Class | AGSLocatorWorkspace Class | ServerObject Class | IEnumServerObjectType Interface | IEnumServerObjectTypeInfo Interface | ILocatorManager2.GetAGSLocatorWorkspace Method

 


Feedback Send feedback on this page