다음을 통해 공유


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

See Also

Reference

Records Class

Records Members

SetRecordDefinitionForSite Overload

Microsoft.Office.RecordsManagement.RecordsRepository Namespace