Class RetentionPolicy
- Namespace
- Datamine.MineTrustConnector.Core.Retention
- Assembly
- Datamine.MineTrustConnector.Core.dll
Base class for an object representing the retention policy which applies to a particular file. Serializes into the form Prop1=Value1;Prop2=Value2;... for interop purposes
public abstract class RetentionPolicy
- Inheritance
-
RetentionPolicy
- Derived
- Inherited Members
Properties
Type
Gets the policy type of this instance.
[JsonIgnore]
public string Type { get; }
Property Value
- string
-
The type.
Methods
Parse(string)
Parses an instance of RetentionPolicy from the specified string, where the incoming string is in the format 'Prop1=Value1;Prop2=Value2;...'
public static RetentionPolicy? Parse(string policyDescription)
Parameters
policyDescription
string-
The policy description.
Returns
- RetentionPolicy
-
The parsed retention policy
ToString()
Converts this instance into a string of the form 'Prop1=Value1;Prop2=Value2;...'
public override string ToString()