SqlServerSecurityAlertPolicy.UpdateStages.WithState Interface

public static interface SqlServerSecurityAlertPolicy.UpdateStages.WithState

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

Method Summary

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

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

Method Details

withState

public abstract SqlServerSecurityAlertPolicy.Update 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