共用方式為


InPlaceHostingManager.UninstallCustomAddIn(String) Method

Definition

Removes a previously installed user-defined component of an application.

public:
 static void UninstallCustomAddIn(System::String ^ subscriptionId);
public static void UninstallCustomAddIn (string subscriptionId);
static member UninstallCustomAddIn : string -> unit
Public Shared Sub UninstallCustomAddIn (subscriptionId As String)

Parameters

subscriptionId
String

A string that contains a subscription identifier, which indicates the add-in to remove.

Exceptions

subscriptionId is not a valid subscription identity, or does not include a name, public key token, processor architecture, and version number.

subscriptionId is null.

Applies to