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