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


IGlobeServerLayer.ServerConnect Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServerLayer Interface > IGlobeServerLayer.ServerConnect Method
ArcGIS Developer Help

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