Records.GetUndeclareByPermissionsForSite Method
Gets the record undeclaration 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 GetUndeclareByPermissionsForSite ( _
site As SPSite _
) As RecordDeclarationPermissions
'Usage
Dim site As SPSite
Dim returnValue As RecordDeclarationPermissions
returnValue = Records.GetUndeclareByPermissionsForSite(site)
public static RecordDeclarationPermissions GetUndeclareByPermissionsForSite(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe site to get the record undeclaration permissions setting for.
Return Value
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordDeclarationPermissions
Returns RecordDeclarationPermissions.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace