Share via


Records.GetRecordDefinitionForSite method (SPSite)

Gets the 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 Function GetRecordDefinitionForSite ( _
    site As SPSite _
) As RecordRestrictions
'Usage
Dim site As SPSite
Dim returnValue As RecordRestrictions

returnValue = Records.GetRecordDefinitionForSite(site)
public static RecordRestrictions GetRecordDefinitionForSite(
    SPSite site
)

Parameters

Return value

Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictions
Returns RecordRestrictions.

See also

Reference

Records class

Records members

GetRecordDefinitionForSite overload

Microsoft.Office.RecordsManagement.RecordsRepository namespace