Share via


HoldSettings members

Provides methods for managing eDiscovery holds within a site collection (SPSite).

The HoldSettings type exposes the following members.

Constructors

  Name Description
Public method HoldSettings Initializes a new instance of the HoldSettings object.

Top

Methods

  Name Description
Public method AddToHold Add a hold to the web pointed to by the URL with the specified case ID, hold ID, query, and QBE query.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllHolds Returns all holds in the current site collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsAnyParentOnHold Checks if any parent of the specified web is on hold.
Public method IsAnySubwebOnHold Checks whether any subweb of the specified web is on hold.
Public method IsOnHold(String) Checks whether the specified URL is on hold and returns the date that the last hold was added.
Public method IsOnHold(String, DateTime) Checks whether the given URL is on hold and gets the last hold added date.
Public method IsOnHold(String, DateTime, IList<HoldInfo>) Checks whether the specified URL is on hold and gets the last hold added date with a list of applicable holds.
Public method IsOnHold(String, Boolean, DateTime, IList<HoldInfo>, DateTime) Checks whether the specified URL is on hold and gets the date that the last hold was added with a list of applicable holds and the last hold updated date.
Protected method MemberwiseClone (Inherited from Object.)
Public method PopulateHoldQueryInfo Populates the given list of HoldInfo with hold queries, also get the last query updated date.
Public method ReleaseFromHold Release a hold from the web pointed to by the URL with the specified case ID, hold ID, query, and QBE query.
Public method ToString (Inherited from Object.)
Public method Update Applies changes made to the hold settings object to the site collection.
Public method UpdateHold Update the hold specified by the URL and hold ID with the specified case ID, hold ID, query, and QBE query.

Top

See also

Reference

HoldSettings class

Microsoft.Office.RecordsManagement.Preservation namespace