Share via


IWithRetentionDays.WithRetentionDays(Int32) Method

Definition

Sets 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.Definition.IWithCreate WithRetentionDays (int retentionDays);
abstract member WithRetentionDays : int -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseThreatDetectionPolicy.Definition.IWithCreate
Public Function WithRetentionDays (retentionDays As Integer) As IWithCreate

Parameters

retentionDays
Int32

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

Returns

Applies to