CSC_PartitionConfig enumeration (comsvcs.h)

Indicates the COM+ partition on which the enclosed context runs.

Syntax

typedef enum tagCSC_PartitionConfig {
  CSC_NoPartition = 0,
  CSC_InheritPartition,
  CSC_NewPartition
} CSC_PartitionConfig;

Constants

 
CSC_NoPartition
Value: 0
The enclosed context runs on the Base Application Partition. This is the default setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Ignore.
CSC_InheritPartition
The enclosed context runs in the current containing COM+ partition. This is the default setting for CServiceConfig when CSC_InheritanceConfig is set to CSC_Inherit.
CSC_NewPartition
The enclosed context runs in a COM+ partition that is different from the current containing partition.

Remarks

This enumeration is used to specify the working COM+ partition through CServiceConfig for either the work submitted through the activity created by CoCreateActivity or the work that is enclosed between calls to CoEnterServiceDomain and CoLeaveServiceDomain.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header comsvcs.h

See also

COM+ Partitions

CServiceConfig

CoCreateActivity

CoEnterServiceDomain

IServicePartitionConfig::PartitionConfig