다음을 통해 공유


Hold.SetHold Method (SPListItem, SPListItem, String)

Sets the item on the specified hold.

Namespace:  Microsoft.Office.RecordsManagement.Holds
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Sub SetHold ( _
    item As SPListItem, _
    hold As SPListItem, _
    comments As String _
)
'Usage
Dim item As SPListItem
Dim hold As SPListItem
Dim comments As StringHold.SetHold(item, hold, comments)
public static void SetHold(
    SPListItem item,
    SPListItem hold,
    string comments
)

Parameters

  • comments
    Type: System.String

    Comments about why the item was put on hold.

See Also

Reference

Hold Class

Hold Members

SetHold Overload

Microsoft.Office.RecordsManagement.Holds Namespace