Επεξεργασία

Κοινή χρήση μέσω


RegistrationHelperTx.UninstallAssembly Method

Definition

Uninstalls an assembly from a COM+ application using transactional semantics.

Overloads

UninstallAssembly(String, String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssembly(String, String, String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssembly(String, String, Object)

Uninstalls an assembly from a COM+ application using transactional semantics.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void UninstallAssembly(System::String ^ assembly, System::String ^ application, System::Object ^ sync);
public void UninstallAssembly (string assembly, string application, object sync);
member this.UninstallAssembly : string * string * obj -> unit
Public Sub UninstallAssembly (assembly As String, application As String, sync As Object)

Parameters

assembly
String

The file name of the assembly to uninstall.

application
String

Either the name of the COM+ application that contains the components in the assembly or null.

sync
Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been uninstalled.

Remarks

The UninstallAssembly method does not need to be called directly from your code. Instead, call the UninstallAssembly method with the same parameters except object sync.

Applies to

UninstallAssembly(String, String, String, Object)

Uninstalls an assembly from a COM+ application using transactional semantics.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void UninstallAssembly(System::String ^ assembly, System::String ^ application, System::String ^ partition, System::Object ^ sync);
public void UninstallAssembly (string assembly, string application, string partition, object sync);
member this.UninstallAssembly : string * string * string * obj -> unit
Public Sub UninstallAssembly (assembly As String, application As String, partition As String, sync As Object)

Parameters

assembly
String

The file name of the assembly to uninstall.

application
String

Either the name of the COM+ application that contains the components in the assembly or null.

partition
String

Either the name of the partition or null.

sync
Object

A synchronization object generated by the infrastructure that can wait until the specified assembly has been uninstalled.

Remarks

The UninstallAssembly method does not need to be called directly from your code. Instead, call the UninstallAssembly method with the same parameters except object sync.

Applies to