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