다음을 통해 공유


AdvancedThreatProtectionSettingsCommunicator.SetDatabaseAdvancedThreatProtection Method

Definition

Creates or updates the Advanced Threat Protection settings for the given server and database in the given resource group.

public void SetDatabaseAdvancedThreatProtection (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.Models.DatabaseAdvancedThreatProtection settingsToSet);
member this.SetDatabaseAdvancedThreatProtection : string * string * string * Microsoft.Azure.Management.Sql.Models.DatabaseAdvancedThreatProtection -> unit
Public Sub SetDatabaseAdvancedThreatProtection (resourceGroupName As String, serverName As String, databaseName As String, settingsToSet As DatabaseAdvancedThreatProtection)

Parameters

resourceGroupName
String

The given resource group.

serverName
String

The given server.

databaseName
String

The given database.

settingsToSet
DatabaseAdvancedThreatProtection

The Advanced Threat Protection settings to set.

Applies to