AttachConfigMgrPackageDeployment
You can use the AttachConfigMgrPackageDeployment web method to attach a Microsoft Endpoint Configuration Manager deployment to an existing package catalog item.
Parameters
The AttachConfigMgrPackageDeployment web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| 1. | catalogItemID | Integer | ID of the catalog item. |
| 2. | advertisementId | String | Advertisement ID of the package in Microsoft Endpoint Configuration Manager. |
| 3. | 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.