RegistrationHelper::UninstallAssembly Method (String^, String^)
.NET Framework (current version)
Uninstalls the assembly from the given application.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Parameters
- assembly
-
Type:
System::String^
The file name of the assembly to uninstall.
- application
-
Type:
System::String^
If this name is not null, it is the name of the application that contains the components in the assembly.
| Exception | Condition |
|---|---|
| RegistrationException | The input assembly does not have a strong name. |
SecurityPermission
for the ability to access unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: