ArcObjects Library Reference  (Carto)    

IIMSMapLayer.ConnectToService Method

Connects to the map service with the given server url.

[Visual Basic 6.0]
Sub ConnectToService(
    ByVal service As IIMSServiceDescription _
)
[Visual Basic .NET]
Public Sub ConnectToService ( _
    ByVal service As IIMSServiceDescription _
)
[C#]
public void ConnectToService (
    IIMSServiceDescription service
);
[Java]
public void connectToService (
    IIMSServiceDescription service
)
throws
    IOException,
    AutomationException
[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.

See Also

IIMSMapLayer Interface

 


Feedback Send feedback on this page