Show / Hide Table of Contents

Class LegalHoldPolicy

The legal hold policy object

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

Constructors

| Improve this Doc View Source

LegalHoldPolicy(String, String, MembersInfo, LegalHoldStatus, DateTime, String, Nullable<DateTime>, Nullable<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
System.String id

The legal hold id.

System.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.

System.DateTime startDate

Start date of the legal hold policy.

System.String description

A description of the legal hold policy.

System.Nullable<System.DateTime> activationTime

The time at which the legal hold was activated.

System.Nullable<System.DateTime> endDate

End date of the legal hold policy.

Properties

| Improve this Doc View Source

ActivationTime

The time at which the legal hold was activated.

Declaration
public DateTime? ActivationTime { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

Description

A description of the legal hold policy.

Declaration
public string Description { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EndDate

End date of the legal hold policy.

Declaration
public DateTime? EndDate { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>
| Improve this Doc View Source

Id

The legal hold id.

Declaration
public string Id { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc 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
| Improve this Doc View Source

Name

Policy name.

Declaration
public string Name { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StartDate

Start date of the legal hold policy.

Declaration
public DateTime StartDate { get; protected set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Status

The current state of the hold.

Declaration
public LegalHoldStatus Status { get; protected set; }
Property Value
Type Description
LegalHoldStatus
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LegalHoldPolicy(String, String, MembersInfo, LegalHoldStatus, DateTime, String, Nullable<DateTime>, Nullable<DateTime>)
  • Properties
    • ActivationTime
    • Description
    • EndDate
    • Id
    • Members
    • Name
    • StartDate
    • Status
Back to top Generated by DocFX