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