Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
Installs a component into a package.
Syntax
object.InstallComponent(filepath, typelibrary, proxy-stub)
Parameters
object
Required. An object variable that evaluates to a ComponentUtil object.
filepath
Required. A String expression that provides the file path of the DLL containing the components to install.
typelibrary
Required. A String expression that provides the file path of the type library to use. Pass an empty string as this argument if the type library is embedded in the DLL.
proxy-stub
Required. A String expression that provides the file path of a custom proxy-stub DLL to use. Pass an empty string as this argument if there is no custom proxy-stub DLL.
Remarks
The changes are applied immediately to the catalog.
For a description of the Components collection and its associated properties, see the Using MTS Collections topic.
See Also
InstallRemoteComponent Method (RemoteComponentUtil), InstallRemoteComponentByName Method (RemoteComponentUtil)