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


IAGSServerConnection4.GetServiceURL Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IA > IAGSServerConnection4 Interface > IAGSServerConnection4.GetServiceURL Method
ArcGIS Developer Help

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
);
[C++]
Parameters
urlType [in]

urlType is a parameter of type esriServiceURLType Service [in]
Service is a parameter of type IAGSServerObjectName*

Product Availability

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

See Also

IAGSServerConnection4 Interface