Hold Class

Represents specific properties of a hold. Holds can be placed on documents to exempt them from the enforcement of the expiration policy that is applied to them.

Inheritance Hierarchy

System.Object
  Microsoft.Office.RecordsManagement.Holds.Hold

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class Hold
'Usage
Dim instance As Hold
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class Hold

Remarks

Holds are stored as list items on a specified list in the Records Center site. As such, you can manipulate many of the properties of a hold programmatically by accessing the SPListItem object that represents that hold.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace