Records.BulkDeclareItemsAsRecords Method
Declares 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 BulkDeclareItemsAsRecords ( _
itemStr As String, _
parentList As SPList _
)
'Usage
Dim itemStr As String
Dim parentList As SPListRecords.BulkDeclareItemsAsRecords(itemStr, _
parentList)
public static void BulkDeclareItemsAsRecords(
string itemStr,
SPList parentList
)
Parameters
itemStr
Type: System.StringA comma delimited string of item IDs.
parentList
Type: Microsoft.SharePoint.SPListThe parent list.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace