다음을 통해 공유


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