Share via


SiteServicesAddins.SetSettings method

Adds the site services add-in 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 SetSettings ( _
    context As ClientRuntimeContext, _
    addin As AddinSettings _
)
'Usage
Dim context As ClientRuntimeContext
Dim addin As AddinSettingsSiteServicesAddins.SetSettings(context, addin)
public static void SetSettings(
    ClientRuntimeContext context,
    AddinSettings addin
)

Parameters

Remarks

This method requires site owner permission level.

See also

Reference

SiteServicesAddins class

SiteServicesAddins members

Microsoft.SharePoint.Client.Publishing namespace