共用方式為


RetentionPolicy.Days Property

Definition

Gets or sets the number of days for the retention in days. A value of 0 will retain the events indefinitely.

[Newtonsoft.Json.JsonProperty(PropertyName="days")]
public int Days { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="days")>]
member this.Days : int with get, set
Public Property Days As Integer

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to