SiteServicesAddins.SetPlugin method
Adds the site services AddinPlugin if it doesn't exist; otherwise, this method updates it.
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Shared Sub SetPlugin ( _
context As ClientRuntimeContext, _
plugin As AddinPlugin _
)
'Usage
Dim context As ClientRuntimeContext
Dim plugin As AddinPluginSiteServicesAddins.SetPlugin(context, plugin)
public static void SetPlugin(
ClientRuntimeContext context,
AddinPlugin plugin
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextRepresents the client runtime context for server objects and operations.
plugin
Type: Microsoft.SharePoint.Client.Publishing.AddinPluginThe social plugin to add or update.
Remarks
This method requires site designer permission level.