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
site
Type: Microsoft.SharePoint.SPSiteThe site
Return value
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordDeclarationPermissions
Returns RecordDeclarationPermissions.
See also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository namespace