Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
item
Type: Microsoft.SharePoint.SPListItemThe item.
hold
Type: Microsoft.SharePoint.SPListItemThe hold.
comments
Type: System.StringComments about why the item was put on hold.