/
CMS_GetAdvertisedPackages
CMS_GetAdvertisedPackages
Description
Returns all packages advertised to the unit
Syntax
CMS_GetAdvertisedPackages() As Boolean
Return value
Result will be stored in gaValue
Example
VBScript
If bStatus Then bStatus = CMS_GetAdvertisedPackages() If bStatus Then For index = LBound(gaValue) to UBound(gaValue) xStatus = Job_WriteLog("Custom", "Index #" & index & ": '" & cStr(gaValue(index)) & "'", bStatus, True) Next End If
Related functions
Related content
CMS_GetProperty
CMS_GetProperty
Read with this
CMS_GetAdvertisedPackages
CMS_GetAdvertisedPackages
More like this
CMS_AddComputerToStaticGroup
CMS_AddComputerToStaticGroup
Read with this
CMS_GetAdvertisedPackages
CMS_GetAdvertisedPackages
More like this
CMS_AddPackageToUnit
CMS_AddPackageToUnit
Read with this
CMS_GetAdvertisedPackages
CMS_GetAdvertisedPackages
More like this