Bewerken

Share via


IComManagedImportUtil.InstallAssembly(String, String, String) Method

Definition

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.

Applies to