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