Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Returns a list of OS servers including sub servers


Syntax

GetOSServers(ByVal OSPointID as Integer) as ArrayList


Parameters

OSPointID (Integer)

OS Point ID


Return value

The function returns an array of OS servers. Each element in the array is a joined line with the character defined with Set splitter

  • server.ID
  • server.Name
  • server.IP
  • server.Servername
  • server.Sharename
  • server.UncPath


Example 

Code Block
languagevb
themeEclipse
titleVBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
Set aUnit =  oCMS.GetOSServers("1") 
for each item in aUnit 
  wscript.echo item 
next