Skip to main content

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:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
advertisementIdStringAdvertisement ID of the package in Microsoft Endpoint Configuration Manager.
programTypeStringEnter 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.