Assembly: System.EnterpriseServices (in system.enterpriseservices.dll)
public final function InstallAssembly ( asmpath : String, parname : String, appname : String )
The path for the assembly.
The COM+ partition name.
The COM+ application name.
InstallAssembly calls RegistrationHelper.InstallAssembly, which performs the following steps:
Registration of the assembly.
Generation of a type library.
Registration of the type library.
Installation of the type library under the specified application.
Configuration of the components contained in the type library.
This method requires the caller to have administrative privileges on the local computer.
- SecurityPermission for the ability to access unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode
- RegistryPermission for the ability to access the registry. Associated enumeration: PermissionState.Unrestricted
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.