Share via


LogRetentionPeriodDisplayUnit Property

Gets or sets the unit of time that is used with the LogRetentionPeriodMinutes property to indicate how long the log file that is associated with a job is retained.

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property LogRetentionPeriodDisplayUnit As String
    Get
    Set
'Usage

  Dim instance As JobDefinition
Dim value As String

value = instance.LogRetentionPeriodDisplayUnit

instance.LogRetentionPeriodDisplayUnit = value
[DataMemberAttribute]
public string LogRetentionPeriodDisplayUnit { get; set; }
[DataMemberAttribute]
public:
property String^ LogRetentionPeriodDisplayUnit {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute>]
member LogRetentionPeriodDisplayUnit : string with get, set
  function get LogRetentionPeriodDisplayUnit () : String
function set LogRetentionPeriodDisplayUnit (value : String)

Property Value

Type: System. . :: . .String
A unit of time.

Remarks

The LogRetentionPeriodDisplayUnit property modifies the LogRetentionPeriodMinutes property. The LogRetentionPeriodDisplayUnit property can be set to "days", "hours", or "minutes".

See Also

Reference

JobDefinition Class

Microsoft.Web.Media.TransformManager Namespace