Compartilhar via


SqlServerTrustGroupCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém um grupo de confiança do servidor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}
  • Operação IdServerTrustGroups_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerTrustGroupResource>> GetAsync (string serverTrustGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerTrustGroupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlServerTrustGroupResource>>
Public Overridable Function GetAsync (serverTrustGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlServerTrustGroupResource))

Parâmetros

serverTrustGroupName
String

O nome do grupo de confiança do servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

serverTrustGroupName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

serverTrustGroupName é nulo.

Aplica-se a