Hold.RemoveHold Method (Int32, SPListItem, String)
NOTE: This API is now obsolete.
Releases the specified document from the specified hold.
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use RemoveHold(item, hold, comments)")> _
Public Shared Sub RemoveHold ( _
holdID As Integer, _
item As SPListItem, _
comments As String _
)
'Usage
Dim holdID As Integer
Dim item As SPListItem
Dim comments As StringHold.RemoveHold(holdID, item, comments)
[ObsoleteAttribute("Use RemoveHold(item, hold, comments)")]
public static void RemoveHold(
int holdID,
SPListItem item,
string comments
)
Parameters
holdID
Type: System.Int32The integer that identifies the list item that represents the hold.
item
Type: Microsoft.SharePoint.SPListItemThe document you want to releasethe specified hold from.
comments
Type: System.StringAny comment you want to write to the audit log when the hold is released for the specified document.