Share via


IWithRetentionDays.WithRetentionDays(Int32) Method

Definition

Updates the security alert policy email addresses. Specifies the number of days to keep in the Threat Detection audit logs.

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Update.IUpdate WithRetentionDays (int retentionDays);
abstract member WithRetentionDays : int -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Update.IUpdate
Public Function WithRetentionDays (retentionDays As Integer) As IUpdate

Parameters

retentionDays
Int32

The number of days to keep in the Threat Detection audit logs.

Returns

Applies to