Records.IsInPlaceRecordsEnabled Method (SPSite)
Checks whether the specified site has been enabled for in-place records.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function IsInPlaceRecordsEnabled ( _
site As SPSite _
) As Boolean
'Usage
Dim site As SPSite
Dim returnValue As Boolean
returnValue = Records.IsInPlaceRecordsEnabled(site)
public static bool IsInPlaceRecordsEnabled(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe site has been enabled for in-place records.
Return Value
Type: System.Boolean
Returns Boolean.
Remarks
The site is enabled only for in-place records if the the in-place records site collection feature is activated.
See Also
Reference
IsInPlaceRecordsEnabled Overload
Microsoft.Office.RecordsManagement.RecordsRepository Namespace