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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.