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


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

IGlobeHelperPub2.LoadServerObject Method

Loads the arcgis service into the globe.

[Visual Basic .NET]
Public Sub LoadServerObject ( _
    ByVal bsfullServerName As String, _
    ByVal bsUsername As String, _
    ByVal vPassword As Object, _
    ByVal ipGlobe As IGlobe, _
    ByRef bsServerObjectname As String, _
    ByRef ppEnum As IEnumBSTR _
)
[C#]
public void LoadServerObject (
    string bsfullServerName,
    string bsUsername,
    object vPassword,
    IGlobe ipGlobe,
    ref string bsServerObjectname,
    ref IEnumBSTR ppEnum
);
[C++]
HRESULT LoadServerObject(
  BSTR bsfullServerName,
  BSTR bsUsername,
  VARIANT vPassword,
  IGlobe* ipGlobe,
  System.String* bsServerObjectname,
  IEnumBSTR** ppEnum
);
[C++]
Parameters
bsfullServerName [in]

bsfullServerName is a parameter of type BSTR bsUsername [in]
bsUsername is a parameter of type BSTR vPassword [in]
vPassword is a parameter of type VARIANT ipGlobe [in]
ipGlobe is a parameter of type IGlobe* bsServerObjectname [in, out]
bsServerObjectname is a parameter of type BSTR* ppEnum [out]
ppEnum is a parameter of type IEnumBSTR**

Product Availability

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

Description

Use this method if you know the fully qualified name of the service.

See Also

IGlobeHelperPub2 Interface