Compartilhar via


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

    The integer that identifies the list item that represents the hold.

  • comments
    Type: System.String

    Any comment you want to write to the audit log when the hold is released.

See Also

Reference

Hold Class

Hold Members

ReleaseHold Overload

Microsoft.Office.RecordsManagement.Holds Namespace