다음을 통해 공유


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