Share via


Records.BulkUndeclareItemsAsRecords method

Undeclares a collection of items as records.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Sub BulkUndeclareItemsAsRecords ( _
    itemStr As String, _
    parentList As SPList _
)
'Usage
Dim itemStr As String
Dim parentList As SPListRecords.BulkUndeclareItemsAsRecords(itemStr, _
    parentList)
public static void BulkUndeclareItemsAsRecords(
    string itemStr,
    SPList parentList
)

Parameters

  • itemStr
    Type: System.String

    A comma-delimited string of item IDs.

Remarks

This method must be used with elevated privileges.

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace