Freigeben über


SqlServerConnectionPolicyCollection.Exists Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

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

Parameter

connectionPolicyName
ConnectionPolicyName

Der Name der Verbindungsrichtlinie.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: