Share via


Records.GetRecordDefinitionForSite Method (Guid)

NOTE: This API is now obsolete.

Gets the record restrictions setting for the site with the specified GUID.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<ObsoleteAttribute("TODO(SCrock): Remove this overload.")> _
Public Shared Function GetRecordDefinitionForSite ( _
    siteId As Guid _
) As RecordRestrictions
'Usage
Dim siteId As Guid
Dim returnValue As RecordRestrictions

returnValue = Records.GetRecordDefinitionForSite(siteId)
[ObsoleteAttribute("TODO(SCrock): Remove this overload.")]
public static RecordRestrictions GetRecordDefinitionForSite(
    Guid siteId
)

Parameters

  • siteId
    Type: System.Guid

    The GUID of the site to get the record restriction setting.

Return Value

Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictions
Returns RecordRestrictions.

See Also

Reference

Records Class

Records Members

GetRecordDefinitionForSite Overload

Microsoft.Office.RecordsManagement.RecordsRepository Namespace