RetentionPolicy.Days Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
the number of days for the retention in days. A value of 0 will retain the events indefinitely.
public int Days { get; set; }
member this.Days : int with get, set
Public Property Days As Integer