Records.ConfigureListForAutoDeclaration method
Configures record auto-declaration setting for a list-- whether the items uploaded to the list will be automtically declared as record.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub ConfigureListForAutoDeclaration ( _
list As SPList, _
autoDeclare As Boolean _
)
'Usage
Dim list As SPList
Dim autoDeclare As BooleanRecords.ConfigureListForAutoDeclaration(list, _
autoDeclare)
public static void ConfigureListForAutoDeclaration(
SPList list,
bool autoDeclare
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe list for which to configure record auto-declaration.
autoDeclare
Type: System.BooleanWhether to automatically declare all incoming content as records.
See also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository namespace