Freigeben über


SqlServerConnectionPolicyCollection.GetAsync 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>> GetAsync (Azure.ResourceManager.Sql.Models.ConnectionPolicyName connectionPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Sql.Models.ConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerConnectionPolicyResource>>
override this.GetAsync : Azure.ResourceManager.Sql.Models.ConnectionPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerConnectionPolicyResource>>
Public Overridable Function GetAsync (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: