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


IAGSServerConnection4.GetServiceURL Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GISClient)  

IAGSServerConnection4.GetServiceURL Method

Returns the URL for a service in the server behind this connection.

[Visual Basic .NET]
Public Function GetServiceURL ( _
    ByVal urlType As esriServiceURLType, _
    ByVal Service As IAGSServerObjectName _
) As String
[C#]
public string GetServiceURL (
    esriServiceURLType urlType,
    IAGSServerObjectName Service
);
[C++]
HRESULT GetServiceURL(
  esriServiceURLType urlType,
  IAGSServerObjectName* Service,
  BSTR* URL
);
[C++]

Parameters urlType [in]
urlType is a parameter of type esriServiceURLType Service [in]
Service is a parameter of type IAGSServerObjectName URL [out, retval] URL is a parameter of type BSTR

Product Availability

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

See Also

IAGSServerConnection4 Interface