AspPartitionID

COM+ Partitions can be used to isolate Web applications into their own COM+ partitions. COM+ partitions can hold different versions of your own custom COM components.

Set the AspPartitionID to the Globally Unique Identifier (GUID) of the COM+ partition. Also set the AspUsePartition flag of the AspAppServiceFlags metabase property. Set both properties at the application level.

Attribute Name Attribute Value
XML Data Type String
WMI Data Type
Same as WMI data type
ADSI Data Type String
ABO Data Type String
ABO Metabase identifier
MD_ASP_SERVICE_PARTITION_ID
Attributes INHERIT
Default Value null
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type ASP_MD_UT_APP
StartingNumber Not applicable
EndingNumber Not applicable
ID 7048

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type
/LM/W3SVC/n/ROOT
/LM/W3SVC/n/ROOT/virtual_directory_name
IIsWebVirtualDir
/LM/W3SVC/n IIsWebServer
/LM/W3SVC IIsWebService
/LM/W3SVC/n/ROOT/physical_directory_name
/LM/W3SVC/n/virtual_directory_name/physical_directory_name
IIsWebDirectory

Code Example

For general code examples, please see Code Examples to Configure Metabase Properties