Freigeben über


SqlServerResource.GetSqlServerConnectionPolicyAsync Methode

Definition

Ruft eine Serververbindungsrichtlinie ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/connectionPolicies/{connectionPolicyName}
  • Vorgangs-IdServerConnectionPolicies_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerConnectionPolicyResource>> GetSqlServerConnectionPolicyAsync (Azure.ResourceManager.Sql.Models.ConnectionPolicyName connectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlServerConnectionPolicyAsync : Azure.ResourceManager.Sql.Models.ConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerConnectionPolicyResource>>
override this.GetSqlServerConnectionPolicyAsync : Azure.ResourceManager.Sql.Models.ConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerConnectionPolicyResource>>
Public Overridable Function GetSqlServerConnectionPolicyAsync (connectionPolicyName As ConnectionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerConnectionPolicyResource))

Parameter

connectionPolicyName
ConnectionPolicyName

Der Name der Verbindungsrichtlinie.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: