Component Services -> Computers -> My Computer -> COM+ Applications
Open a COM+ Application object.
Open Components.
Right-click on a class and select Properties.
Under ‘Advanced’ there is a check box for ‘Allow IIS intrinsic properties’.
How do I check this check box programmatically?
I can create and delete COM+ Applications programmatically, but the ComApplication class doesn’t seem to have ways to change settings in the created application.
I found out how to do it.
Apparently I have to get a collection of COM+ applications, find the one I want (by name), then get a collection of components in the application, then go through the collection and set the attribute:
I think this can be done better and with fewer castings. But I don’t know how.
This will do.