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:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| catalogItemID | Integer | ID of the catalog item. | |
| cm12AppID | String | Application ID in System Center 2012 Configuration Manager. | |
| deploymentTarget | Enum value | Use one of the following values: 0 —DeployToUser 1 —DeployToComputer | |
| createUninstall | Boolean | Enter 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