Table of contents
TOC
Collapse the table of content
Expand the table of content

RecordsManagementExtensions.SetRecordRestrictions Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Defines the restrictions that are placed on a document once it's declared as a record

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetRecordRestrictions(this Site site, EcmSiteRecordRestrictions restrictions)

Parameters

site

  Type: Microsoft.SharePoint.Client.Site
  Site collection to operate on

restrictions

  Type: OfficeDevPnP.Core.EcmSiteRecordRestrictions
   enum that holds the restrictions to be applied

Return Value

Type: void

See also

© 2018 Microsoft