Skip to main content

AddCM12App

You can use the AddCM12App web method to add a System Center 2012 Configuration Manager application to a catalog item.

Parameters

The AddCM12App web method includes the following parameters:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
cm12AppIDStringApplication ID in System Center 2012 Configuration Manager.
deploymentTargetEnum valueUse one of the following values: 0 —DeployToUser 1 —DeployToComputer
createUninstallBooleanEnter True if catalog item is to trigger an uninstall; otherwise, enter False .

Return Value

Returns one of the following values:

  • Returns TRUE for success
  • Returns FALSE for failure