MTS ComponentsInPackage Collection

The ComponentsInPackage collection contains the set of components that run in the same server process and compose a package. This collection supports the Remove method. The Add method is not supported. You must use the ComponentUtil object to install components into the package.

The following table provides a list of the properties supported by the CatalogObjects within the ComponentsInPackage collection.

Property Description
ProgID
The name that identifies the component.
Data Type: String
Default value: None
Access: Read only
CLSID
The universally unique identifier (UUID) for the component.
Data Type: String
Default value: None
Access: Read only
Transaction
Determines how a component supports transactions. Must be one of the following transaction settings:

“Required”
“Requires New”
“Not Supported”
“Supported”

Data Type: String
Default value: “Not supported”
Access: Read/Write

Description
Describes the component. Description fields hold a maximum of 500 characters.
Data Type: String
Default value: None
Access: Read/Write
PackageID
Defines the identity of the owning package.
Data Type: String
Default value: None
Access: Read only
PackageName
Defines the name of the owning package.
Data Type: String
Default value: “New Package”
Access: Read only
ThreadingModel
Determines how instances of the component are assigned to threads for method execution. Possible values are those supported by Component Object Model (COM).
Data Type: String
Default value: None
Access: Read only
SecurityEnabled
Checks the security credentials of any client that calls the component if value is set to “Y.”
Data Type: String
Default value: “Y”
Access: Read/Write
DLL
Displays the name of the DLL containing the component implementation.
Data Type: String
Default value: None
Access: Read only
IsSystem
Identifies an MTS system component. “N” signifies that the package is not a Transaction Server system component, and “Y” indicates that package is an MTS system component.
Data Type: String
Default value: “N”
Access: Read only

See Also

InterfacesForComponent, RolesForPackageComponent, RelatedCollectionInfo, PropertyInfo, ErrorInfo