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
site
Type: Microsoft.SharePoint.SPSiteThe site to get record restrictions for.
Return value
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictions
Returns RecordRestrictions.
See also
Reference
GetRecordDefinitionForSite overload
Microsoft.Office.RecordsManagement.RecordsRepository namespace