Records.SetRecordDefinitionForSite Method (Guid, RecordRestrictions)
NOTE: This API is now obsolete.
Sets record restrictions setting for the site with the specified GUID
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<ObsoleteAttribute("TODO(SCrock): Remove this overload.")> _
Public Shared Sub SetRecordDefinitionForSite ( _
siteId As Guid, _
restrictions As RecordRestrictions _
)
'Usage
Dim siteId As Guid
Dim restrictions As RecordRestrictionsRecords.SetRecordDefinitionForSite(siteId, _
restrictions)
[ObsoleteAttribute("TODO(SCrock): Remove this overload.")]
public static void SetRecordDefinitionForSite(
Guid siteId,
RecordRestrictions restrictions
)
Parameters
siteId
Type: System.GuidGUID of the site
restrictions
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictionsthe record restrictions setting
See Also
Reference
SetRecordDefinitionForSite Overload
Microsoft.Office.RecordsManagement.RecordsRepository Namespace