HoldSettings HoldSettings HoldSettings Class

Definition

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

public ref class HoldSettings
public class HoldSettings
Public Class HoldSettings
Inheritance
HoldSettingsHoldSettingsHoldSettings

Constructors

HoldSettings(SPSite) HoldSettings(SPSite) HoldSettings(SPSite)

Initializes a new instance of the HoldSettings object.

Methods

AddToHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String) AddToHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String) AddToHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String)

Add a hold to the web pointed to by the URL with the specified case ID, hold ID, query, and QBE query.

GetAllHolds() GetAllHolds() GetAllHolds()

Returns all holds in the current site collection.

IsAnyParentOnHold(String) IsAnyParentOnHold(String) IsAnyParentOnHold(String)

Checks if any parent of the specified web is on hold.

IsAnySubwebOnHold(String) IsAnySubwebOnHold(String) IsAnySubwebOnHold(String)

Checks whether any subweb of the specified web is on hold.

IsOnHold(String) IsOnHold(String) IsOnHold(String)

Checks whether the specified URL is on hold and returns the date that the last hold was added.

IsOnHold(String, DateTime) IsOnHold(String, DateTime) IsOnHold(String, DateTime)

Checks whether the given URL is on hold and gets the last hold added date.

IsOnHold(String, DateTime, IList<HoldInfo>) IsOnHold(String, DateTime, IList<HoldInfo>) 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.

IsOnHold(String, Boolean, DateTime, IList<HoldInfo>, DateTime) IsOnHold(String, Boolean, DateTime, IList<HoldInfo>, DateTime) 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.

PopulateHoldQueryInfo(IList<HoldInfo>, DateTime) PopulateHoldQueryInfo(IList<HoldInfo>, DateTime) PopulateHoldQueryInfo(IList<HoldInfo>, DateTime)

Populates the given list of HoldInfo with hold queries, also get the last query updated date.

ReleaseFromHold(Guid, Guid, String, String, String) ReleaseFromHold(Guid, Guid, String, String, String) ReleaseFromHold(Guid, Guid, String, String, String)

Release a hold from the web pointed to by the URL with the specified case ID, hold ID, query, and QBE query.

Update() Update() Update()

Applies changes made to the hold settings object to the site collection.

UpdateHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String) UpdateHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String) UpdateHold(Guid, Guid, String, String, CultureInfo, HoldInfo, String)

Update the hold specified by the URL and hold ID with the specified case ID, hold ID, query, and QBE query.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to