다음을 통해 공유


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

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

Records Class

Records Members

IsInPlaceRecordsEnabled Overload

Microsoft.Office.RecordsManagement.RecordsRepository Namespace