Hold class

Represents specific properties of a hold.


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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class Hold

Holds can be placed on documents to exempt them from the enforcement of the expiration policy that is applied to them. You can also use them to prevent the modification and deletion of documents. 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.

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