AttachCM12PackageDeployment
You can use the AttachCM12PackageDeployment web method to attach a System Center 2102 Configuration Manager deployment to an existing package catalog item.
Parameters
The AttachCM12PackageDeployment web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| catalogItemID | Integer | ID of the catalog item. | |
| advertisementId | String | Advertisement ID of package in System Center 2012 Configuration Manager. | |
| programType | String | Enter one of the following values to identify the purpose of this catalog item: Install Uninstall Repair |
Return Value
Returns one of the following values:
- Returns TRUE for success.
- Returns FALSE for error.