Description
Gets a list of all VPP programs.
Syntax
GetVppPrograms() as ArrayList
Return Value
The function returns an array of vpp programs. Each vpp program in the array is a joined line with the character defined with Set splitter.
- vppProgram.ID
- vppProgram.Name
- vppProgram.OrganisationName
- vppProgram.Email
- vppProgram.ExpireDate
- vppProgram.GUID
- vppProgram.Description
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") Set aUnit = CreateObject("System.Collections.ArrayList") oCMS.SetDefaultManagementPoint("1") Set aPrograms = oCMS.GetVppPrograms() for each item in aPrograms wscript.echo item next