Freigeben über


ServerAdvancedThreatProtectionSettingsOperationsExtensions.GetAsync Methode

Definition

Ruft den Advanced Threat Protection-Status eines Servers ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection> GetAsync(this Microsoft.Azure.Management.Sql.IServerAdvancedThreatProtectionSettingsOperations operations, string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Sql.IServerAdvancedThreatProtectionSettingsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ServerAdvancedThreatProtection>
<Extension()>
Public Function GetAsync (operations As IServerAdvancedThreatProtectionSettingsOperations, resourceGroupName As String, serverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerAdvancedThreatProtection)

Parameter

operations
IServerAdvancedThreatProtectionSettingsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die die Ressource enthält. Dieser Wert kann über die Azure-Ressourcen-Manager-API oder das Portal abgerufen werden.

serverName
String

Name des Servers

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: