다음을 통해 공유


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.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 for the specified document.

See Also

Reference

Hold Class

Hold Members

RemoveHold Overload

Microsoft.Office.RecordsManagement.Holds Namespace