SiteServicesAddins.DeletePlugin method
Deletes an AddinPlugin by its Title property.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Sub DeletePlugin ( _
context As ClientRuntimeContext, _
pluginName As String _
)
'Usage
Dim context As ClientRuntimeContext
Dim pluginName As StringSiteServicesAddins.DeletePlugin(context, pluginName)
public static void DeletePlugin(
ClientRuntimeContext context,
string pluginName
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextRepresents the client runtime context for server objects and operations.
pluginName
Type: System.StringThe Title property of the AddinPlugin object to delete.
Remarks
This method requires site designer permission level.