RegistrationHelper::UninstallAssembly Method (String^, String^, String^)

 

Uninstalls the assembly from the given application.

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

public:
void UninstallAssembly(
	String^ assembly,
	String^ application,
	String^ partition
)

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.

partition
Type: System::String^

The name of the partition. This parameter can be null.

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
Return to top
Show: