Gets who can declare records
Namespace: Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll
public static EcmRecordDeclarationBy GetRecordDeclarationBy(this Site site)
Type: Microsoft.SharePoint.Client.Site
Site collection to operate on
Type: EcmRecordDeclarationBy
OfficeDevPnP.Core.EcmRecordDeclarationBy enum that defines who can declare a record