RetentionPolicy(Boolean, Int32) Constructor
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.
Initializes a new instance of RetentionPolicy.
public RetentionPolicy (bool isEnabled, int days);
new Azure.ResourceManager.Monitor.Models.RetentionPolicy : bool * int -> Azure.ResourceManager.Monitor.Models.RetentionPolicy
Public Sub New (isEnabled As Boolean, days As Integer)
Parameters
- isEnabled
- Boolean
a value indicating whether the retention policy is enabled.
- days
- Int32
the number of days for the retention in days. A value of 0 will retain the events indefinitely.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET