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


IGlobeHelperPub2.GetListofServerObjects Method (ArcObjects .NET 10.6 SDK)
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,
  System.String* bsServiceURL,
  System.String* bsServiceName,
  System.String* bsServiceType,
  System.String* bsUsername,
  Variant* vPassword,
  IEnumBSTR** ppTypes
);
[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**

Product Availability

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

See Also

IGlobeHelperPub2 Interface