IServerKeyOperations.ListAsync(String, String, CancellationToken) Method

Definition

Gets all Azure SQL Database Server Keys for a server.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyListResponse> ListAsync (string resourceGroupName, string serverName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ServerKeyListResponse>
Public Function ListAsync (resourceGroupName As String, serverName As String, cancellationToken As CancellationToken) As Task(Of ServerKeyListResponse)

Parameters

resourceGroupName
String

The name of the Resource Group to which the server belongs.

serverName
String

The name of the Azure SQL Database Server.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a List Azure Sql Server Key request.

Applies to