ArcObjects Library Reference (GlobeCore)  

IGlobeServerLayer.ServerConnect Method

Connects to the Server given the GlobeServer Object, layer name and layer ID.

[Visual Basic .NET]
Public Sub ServerConnect ( _
    ByVal soName As IAGSServerObjectName, _
    ByVal pGlobeServer As IGlobeServer, _
    ByVal LayerName As String, _
    ByVal LayerID As Integer _
)
[C#]
public void ServerConnect (
    IAGSServerObjectName soName,
    IGlobeServer pGlobeServer,
    string LayerName,
    int LayerID
);
[C++]
HRESULT ServerConnect(
  IAGSServerObjectName* soName,
  IGlobeServer* pGlobeServer,
  BSTR LayerName,
  long LayerID
);
[C++]

Parameters

soName [in]

  soName is a parameter of type IAGSServerObjectName

pGlobeServer [in]

  pGlobeServer is a parameter of type IGlobeServer

LayerName [in]   LayerName is a parameter of type BSTR LayerID [in]   LayerID is a parameter of type long

Product Availability

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

See Also

IGlobeServerLayer Interface