Hold.ReleaseHold Method (Int32, SPWeb, String)
Releases any documents on the specified SharePoint site from the specified hold.
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub ReleaseHold ( _
holdID As Integer, _
web As SPWeb, _
comments As String _
)
'Usage
Dim holdID As Integer
Dim web As SPWeb
Dim comments As StringHold.ReleaseHold(holdID, web, comments)
public static void ReleaseHold(
int holdID,
SPWeb web,
string comments
)
Parameters
holdID
Type: System.Int32The integer that identifies the list item that represents the hold.
web
Type: Microsoft.SharePoint.SPWebThe site on which the documents you want released from this hold are located.
comments
Type: System.StringAny comment you want to write to the audit log when the hold is released.