RegistrationHelperTx.UninstallAssembly 方法

定义

使用事务性语义从 COM+ 应用程序卸载程序集。Uninstalls an assembly from a COM+ application using transactional semantics.

重载

UninstallAssembly(String, String, Object)

此 API 支持产品基础结构,不能在代码中直接使用。

使用事务性语义从 COM+ 应用程序卸载程序集。Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssembly(String, String, String, Object)

此 API 支持产品基础结构,不能在代码中直接使用。

使用事务性语义从 COM+ 应用程序卸载程序集。Uninstalls an assembly from a COM+ application using transactional semantics.

UninstallAssembly(String, String, Object)

使用事务性语义从 COM+ 应用程序卸载程序集。Uninstalls an assembly from a COM+ application using transactional semantics.

此 API 支持产品基础结构,不能在代码中直接使用。

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)

参数

assembly
String

要卸载的程序集的文件名。The file name of the assembly to uninstall.

application
String

或者是包含程序集中组件的 COM+ 应用程序的名称,或者是 nullEither 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.

注解

UninstallAssembly不需要直接从代码中调用方法。The UninstallAssembly method does not need to be called directly from your code. 请改为调用 UninstallAssembly 具有相同参数的方法,但对象同步除外。Instead, call the UninstallAssembly method with the same parameters except object sync.

适用于

UninstallAssembly(String, String, String, Object)

使用事务性语义从 COM+ 应用程序卸载程序集。Uninstalls an assembly from a COM+ application using transactional semantics.

此 API 支持产品基础结构,不能在代码中直接使用。

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)

参数

assembly
String

要卸载的程序集的文件名。The file name of the assembly to uninstall.

application
String

或者是包含程序集中组件的 COM+ 应用程序的名称,或者是 nullEither the name of the COM+ application that contains the components in the assembly or null.

partition
String

或者是分区的名称,或者是 nullEither 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.

注解

UninstallAssembly不需要直接从代码中调用方法。The UninstallAssembly method does not need to be called directly from your code. 请改为调用 UninstallAssembly 具有相同参数的方法,但对象同步除外。Instead, call the UninstallAssembly method with the same parameters except object sync.

适用于