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.StringA comma-delimited string of item IDs.
parentList
Type: Microsoft.SharePoint.SPListThe parent list.
Remarks
This method must be used with elevated privileges.
See also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository namespace