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


IMapServerLayer.LocalConnect Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLayer.LocalConnect Method

Connects to map document data frame specified by the location of a map document and the name of a data frame.

[Visual Basic .NET]
Public Sub LocalConnect ( _
    ByVal docLocation As String, _
    ByVal MapName As String _
)
[C#]
public void LocalConnect (
    string docLocation,
    string MapName
);
[C++]
HRESULT LocalConnect(
  BSTR docLocation,
  BSTR MapName
);
[C++]

Parameters docLocation [in]
docLocation is a parameter of type BSTR MapName [in]
MapName is a parameter of type BSTR

Product Availability

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

See Also

IMapServerLayer Interface