Registering and Activating Components in Partitions

After a partition has been created, the next step is register your COM+ components within that partition. A component is registered within a partition when a new COM+ application is created or when an existing COM+ application is installed into the partition. To ease the administration of registration when multiple partitions contain the same COM+ components, the partitions service allows an administrator to copy applications or components from one partition into another. When a COM+ application or a component is copied, all associated partition properties are copied with it, except the application's identity or any of the members of a role.

When the client program calls the CoCreateInstance or CoGetObject function to instantiate an object, COM+ performs two distinct steps, as follows:

  1. Locates the partition in which the component resides
  2. Locates the correct component within that partition

The following topics in this section describe these steps in detail:

Application Design Restrictions

COM+ Queued Components and Partitions

Partition Implementation

What Are COM+ Partitions?