RegistrationHelperTx.InstallAssembly Method (String, String, String, InstallationFlags, Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Installs the named assembly in the COM+ catalog using transactional semantics.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public void InstallAssembly(
	string assembly,
	ref string application,
	ref string tlb,
	InstallationFlags installFlags,
	object sync
)

Parameters

assembly
Type: System.String

The file name of the assembly to install.

application
Type: System.String

Either the name of the COM+ application to install into or null.

tlb
Type: System.String

Either the name of the output Type Library Exporter (Tlbexp.exe) file or null.

installFlags
Type: System.EnterpriseServices.InstallationFlags

A bitwise combination of the installation flags values.

sync
Type: System.Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been configured in the COM+ catalog.

The InstallAssembly method does not need to be called directly from your code. Instead, call the InstallAssembly method with the same parameters except object sync.

This method requires the caller to have administrative privileges on the local computer.

.NET Framework
Available since 1.1
Return to top
Show: