Dropbox .NET SDK
Show / Hide Table of Contents

Class LegalHoldPolicy

The legal hold policy object

Inheritance
object
LegalHoldPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Team
Assembly: Dropbox.Api.dll
Syntax
public class LegalHoldPolicy

Constructors

View Source

LegalHoldPolicy(string, string, MembersInfo, LegalHoldStatus, DateTime, string, DateTime?, DateTime?)

Initializes a new instance of the LegalHoldPolicy class.

Declaration
public LegalHoldPolicy(string id, string name, MembersInfo members, LegalHoldStatus status, DateTime startDate, string description = null, DateTime? activationTime = null, DateTime? endDate = null)
Parameters
Type Name Description
string id

The legal hold id.

string name

Policy name.

MembersInfo members

Team members IDs and number of permanently deleted members under hold.

LegalHoldStatus status

The current state of the hold.

DateTime startDate

Start date of the legal hold policy.

string description

A description of the legal hold policy.

DateTime? activationTime

The time at which the legal hold was activated.

DateTime? endDate

End date of the legal hold policy.

Properties

View Source

ActivationTime

The time at which the legal hold was activated.

Declaration
public DateTime? ActivationTime { get; protected set; }
Property Value
Type Description
DateTime?
View Source

Description

A description of the legal hold policy.

Declaration
public string Description { get; protected set; }
Property Value
Type Description
string
View Source

EndDate

End date of the legal hold policy.

Declaration
public DateTime? EndDate { get; protected set; }
Property Value
Type Description
DateTime?
View Source

Id

The legal hold id.

Declaration
public string Id { get; protected set; }
Property Value
Type Description
string
View Source

Members

Team members IDs and number of permanently deleted members under hold.

Declaration
public MembersInfo Members { get; protected set; }
Property Value
Type Description
MembersInfo
View Source

Name

Policy name.

Declaration
public string Name { get; protected set; }
Property Value
Type Description
string
View Source

StartDate

Start date of the legal hold policy.

Declaration
public DateTime StartDate { get; protected set; }
Property Value
Type Description
DateTime
View Source

Status

The current state of the hold.

Declaration
public LegalHoldStatus Status { get; protected set; }
Property Value
Type Description
LegalHoldStatus
  • View Source
In this article
Back to top Dropbox .NET SDK