你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays Interface

public static interface SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithRetentionDays

The SQL database threat detection policy definition to set the number of days to keep in the Threat Detection audit logs.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withRetentionDays(int retentionDays)

Sets the security alert policy email addresses.

Method Details

withRetentionDays

public abstract SqlDatabaseThreatDetectionPolicy.DefinitionStages.WithCreate withRetentionDays(int retentionDays)

Sets the security alert policy email addresses.

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

Parameters:

retentionDays - the number of days to keep in the Threat Detection audit logs

Returns:

the next stage of the definition

Applies to