SMS_DeploymentType on SCCM RRS feed

  • Question

  • Hi,

    can i update the Priority field of the deployment type through SCCM 2012 WebApi 

    I have searched through SMS_deploymentType where the field is named PriorityInLatestApp how the class is or the entity seems to a read only and  SMS_Application - DeploymentTypes does gave priority field, see below  code 

                    IResultObject deploymentTypeToModify =
                        _sccmConnectionManager.GetInstance(@"SMS_DeploymentType.CI_ID='" +
                                                           deploymentType.CiId.Trim() + "'");
                        CustomLogger.Log.Info("Updating UpdateDeployment types priority");
                        deploymentTypeToModify["PriorityInLatestApp"].IntegerValue = deploymentType.Priority;


    Michael Sethaba

    • Moved by 宝宝徐 Thursday, October 27, 2016 2:01 AM
    Wednesday, October 26, 2016 6:27 AM


All replies

  • Hi Michael Sethaba,

    Thank you for your post.

    This forum is discuss Visual Studio Setup and installation.

    As your issue is related to SCCM development, currently MSDN doesn't have a technical forum to support this, I help you move this case to Using Forums  > Where is the Forum For…?

    Thank you for your understanding.

    Best Regards,

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Thursday, October 27, 2016 2:00 AM
  • I'd probably try them over here.




    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, October 27, 2016 2:12 AM
  • I  was able to update the deployment priority through powershell  scripting, it was something like this

    Set-CMDeploymentType -ApplicationName {0} -DeploymentTypeName {1} -Priority {2}

    Michael Sethaba

    Tuesday, July 18, 2017 8:08 AM