다음을 통해 공유


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