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
1.catalogItemIDIntegerID of the catalog item.
2.cm12AppIDStringApplication ID in System Center 2012 Configuration Manager.
3.deploymentTargetEnum valueUse one of the following values:
0 —DeployToUser
1 —DeployToComputer
4.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