IComManagedImportUtil.InstallAssembly(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Installs an assembly into a COM+ application.
public:
void InstallAssembly(System::String ^ filename, System::String ^ parname, System::String ^ appname);
public void InstallAssembly (string filename, string parname, string appname);
abstract member InstallAssembly : string * string * string -> unit
Public Sub InstallAssembly (filename As String, parname As String, appname As String)
Parameters
- filename
- String
The path for the assembly.
- parname
- String
The COM+ partition name.
- appname
- String
The COM+ application name.
Exceptions
A caller in the call chain does not have permission to access unmanaged code.
The input assembly does not have a strong name.
Remarks
See InstallAssembly for more information on the implementation of this method.
This method requires the caller to have administrative privileges on the local computer.