简体   繁体   中英

How do I remove a COM+ component from a COM+ application programmatically

I am trying to automate a build, and the application uses COM+ applications with Components, and I need to figure out how to delete the component from the package using c#. I am using the COMAdmin library, and have built out a collection of the applications, but i'm kinda stuck from there. Any help would be appreciated.

Thanks!

public static void RemoveComponents()
    {
        COMAdminCatalog objCatalog = new COMAdminCatalog();
        string ApplicationName = "Comply Plus Web";



    }

我认为您需要System.EnterpriseServices.RegistrationHelper.UninstallAssembly()。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM