Share via


Records.GetDeclareByPermissionsForSite method

Get record declaration permissions setting for the specified site.

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

Syntax

'Declaration
Public Shared Function GetDeclareByPermissionsForSite ( _
    site As SPSite _
) As RecordDeclarationPermissions
'Usage
Dim site As SPSite
Dim returnValue As RecordDeclarationPermissions

returnValue = Records.GetDeclareByPermissionsForSite(site)
public static RecordDeclarationPermissions GetDeclareByPermissionsForSite(
    SPSite site
)

Parameters

Return value

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

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace