Share via


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

Remarks

This method requires site designer permission level.

See also

Reference

SiteServicesAddins class

SiteServicesAddins members

Microsoft.SharePoint.Client.Publishing namespace