Versions Compared

Key

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

...

The function returns an array of management servers. Each management server (cms) in the array is a joined line with the character defined with Set splitter

  • cms.Name
  • cms.Path
  • cms.Version
  • cms.Drive
  • cms.Server
  • cms.Share
  • cms.IsParentShare
  • cms.GUID
  • cms.ID


Example

Code Block
languagevb
themeEclipselanguagevb
titleVBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aCms = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
Set aCms =  oCMS.GetManagementServers() 
for each server in aCms
  wscript.echo server 
next 

...