AddCMTaskSequence
You can use the AddCMTaskSequence web method to add a System Center Configuration Manager task sequence to a catalog item.
Parameters
The AddCMTaskSequence web method includes the following parameters:
| # | Parameters | Data Type | Description |
|---|---|---|---|
| 1. | catalogItemID | Integer | ID of the catalog item. |
| 2. | cmServer | String | Site server. |
| 3. | cmPackageID | String | System Center Configuration Manager package ID. |
| 4. | deploymentSettings | Object of class deployment | Contains number of properties. |
| 5. | deploymentTechnology | Enum value | Enter one of the following values to identify the deployment technology: 8 —System Center Configuration Manager / ConfigMgr (Current Branch) 1 —System Center 2012 Configuration Manager 3 —Altiris 0 —Unknown |
| 6. | isOsd | Boolean | Enter True if OSD; otherwise, enter False . |
Return Value
Returns one of the following values:
-
Returns TRUE for success
-
Returns FALSE for failure