ArcObjects Library Reference (GlobeCore)  

IGlobeHelperPub2.GetListofServerObjects Method

Gets a flat list of server objects. If full name is provided returns the ServiceURL, ServiceName and SeviceType.

[Visual Basic .NET]
Public Function GetListofServerObjects ( _
    ByVal bsfullServerName As String, _
    ByRef bsServiceURL As String, _
    ByRef bsServiceName As String, _
    ByRef bsServiceType As String, _
    ByRef bsUsername As String, _
    ByRef vPassword As Object, _
    ByRef ppTypes As IEnumBSTR _
) As IEnumBSTR
[C#]
public IEnumBSTR GetListofServerObjects (
    string bsfullServerName,
    ref string bsServiceURL,
    ref string bsServiceName,
    ref string bsServiceType,
    ref string bsUsername,
    ref object vPassword,
    ref IEnumBSTR ppTypes
);
[C++]
HRESULT GetListofServerObjects(
  BSTR bsfullServerName,
  BSTR* bsServiceURL,
  BSTR* bsServiceName,
  BSTR* bsServiceType,
  BSTR* bsUsername,
  VARIANT* vPassword,
  IEnumBSTR** ppTypes,
  IEnumBSTR** ppNames
);
[C++]

Parameters

bsfullServerName [in]   bsfullServerName is a parameter of type BSTR bsServiceURL [out]   bsServiceURL is a parameter of type BSTR bsServiceName [out]   bsServiceName is a parameter of type BSTR bsServiceType [in, out]   bsServiceType is a parameter of type BSTR bsUsername [in, out]   bsUsername is a parameter of type BSTR vPassword [in, out]   vPassword is a parameter of type VARIANT ppTypes [out]

  ppTypes is a parameter of type IEnumBSTR

ppNames [out, retval]

  ppNames is a parameter of type IEnumBSTR

Product Availability

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

See Also

IGlobeHelperPub2 Interface