ArcObjects Library Reference  (Carto)    

IMapCooker.Connect Method

Connects to a given map and its cache.

[Visual Basic 6.0]
Sub Connect(
    ByVal Location As String, _
    ByVal Name As String, _
    ByVal pMap As IMap _
)
[Visual Basic .NET]
Public Sub Connect ( _
    ByVal Location As String, _
    ByVal Name As String, _
    ByVal pMap As IMap _
)
[C#]
public void Connect (
    string Location,
    string Name,
    IMap pMap
);
[Java]
public void connect (
    String Location,
    String Name,
    IMap pMap
)
throws
    IOException,
    AutomationException
[C++]
HRESULT Connect(
  BSTR Location,
  BSTR Name,
  IMap* pMap
);
[C++]

Parameters

Location [in]

  Location is a parameter of type BSTR

Name [in]

  Name is a parameter of type BSTR

pMap [in]

  pMap is a parameter of type IMap

Product Availability

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

See Also

IMapCooker Interface