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.String

    A comma delimited string of item IDs.

See Also

Reference

Records Class

Records Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace