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


© 1997 Microsoft Corporation. All rights reserved.