Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

AspComPlus Class [IIS 7 and higher]

IIS 7.0

Exposes properties related to COM+.

class AspComPlus : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the AspComPlus class.

Name

Description

AppServiceFlags

A read/write sint32 enumeration that configures certain COM+ features. The possible values are listed later in the Remarks section. The default is 0 (None).

ExecuteInMta

A read/write boolean value. true if ASP should run in a multithreaded environment; otherwise, false. The default is false.

PartitionId

A read/write string value that specifies the GUID of the COM+ partition. This property is required when AppServiceFlags is set to UsePartition.

SxsName

A read/write string value that specifies the name of a COM+ application. This property is required when AppServiceFlags is set to EnableSxS.

TrackThreadingModel

A read/write boolean value. true if IIS honors the threading model of the components that an application creates; otherwise, false. The default is false.

This class contains no subclasses.

Instances of this class are contained in the ComPlus property of the AspSection class.

The following table lists the possible values for the AppServiceFlags property. The default is 0 (None).

Value

Keyword

Description

0

None

No COM+ application flags are enabled.

1

EnableTracker

Enables the COM+ tracker, which enables ASP applications to be debugged.

2

EnableSxS

Enables COM+ side-by-side assemblies, which enable ASP applications to specify which version of a system DLL or COM component (such as MDAC, MFS, MSVCRT, or MSXML) to use.

4

UsePartition

Enables COM+ partitioning, which you can use to isolate applications into their own COM+ partitions. If you set this flag, you must also specify a value for the PartitionID property.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2015 Microsoft