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


IMapServerRESTLayer.Connect Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServerRESTLayer.Connect Method

Connects to a MapService using a REST URL.

[Visual Basic .NET]
Public Sub Connect ( _
    ByVal restUrl As String _
)
[C#]
public void Connect (
    string restUrl
);
[C++]
HRESULT Connect(
  BSTR restUrl
);
[C++]

Parameters restUrl [in] restUrl is a parameter of type BSTR

Product Availability

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

See Also

IMapServerRESTLayer Interface