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
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextRepresents the client runtime context for server objects and operations.
addin
Type: Microsoft.SharePoint.Client.Publishing.AddinSettingsThe AddinSettings object to add or update.
Remarks
This method requires site owner permission level.