This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IIMSMapLayer Interface > IIMSMapLayer.ConnectToService Method (ArcObjects .NET 10.4 SDK) |
Connects to the map service with the given server url.
[Visual Basic .NET] Public Sub ConnectToService ( _ ByVal Service As IIMSServiceDescription _ )
[C#] public void ConnectToService ( IIMSServiceDescription Service );
[C++]
HRESULT ConnectToService(
IIMSServiceDescription* Service
);
[C++]
Parameters Service [in]
Service is a parameter of type IIMSServiceDescription