Share via


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

  • autoDeclare
    Type: System.Boolean

    Whether to automatically declare all incoming content as records.

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace