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

SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState Interface

public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState

The SQL Server Security Alert Policy definition to set the state.

Method Summary

Modifier and Type Method and Description
abstract WithEmailAccountAdmins withState(SecurityAlertPolicyState state)

Specifies the state of the policy, whether it is enabled or disabled.

Method Details

withState

public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithEmailAccountAdmins withState(SecurityAlertPolicyState state)

Specifies the state of the policy, whether it is enabled or disabled.

Parameters:

state - the state of the policy, whether it is enabled or disabled

Returns:

The next stage of the definition.

Applies to