다음을 통해 공유


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

See Also

Reference

Records Class

Records Members

SetRecordDefinitionForSite Overload

Microsoft.Office.RecordsManagement.RecordsRepository Namespace