Records.SetRecordDefinitionForSite Method (SPSite, RecordRestrictions)
Sets record restrictions setting for the specified site.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub SetRecordDefinitionForSite ( _
site As SPSite, _
restrictions As RecordRestrictions _
)
'Usage
Dim site As SPSite
Dim restrictions As RecordRestrictionsRecords.SetRecordDefinitionForSite(site, _
restrictions)
public static void SetRecordDefinitionForSite(
SPSite site,
RecordRestrictions restrictions
)
Parameters
site
Type: Microsoft.SharePoint.SPSitethe site
restrictions
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictionsthe record restrictions setting
See Also
Reference
SetRecordDefinitionForSite Overload
Microsoft.Office.RecordsManagement.RecordsRepository Namespace