This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IA > IAGSServerConnection4 Interface > IAGSServerConnection4.GetServiceURL Method (ArcObjects .NET 10.4 SDK) |
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