Skip to main content

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:

#ParametersData TypeDescription
catalogItemIDIntegerID of the catalog item.
advertisementIdStringAdvertisement ID of package in System Center 2012 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.