Udostępnij za pośrednictwem


IServerOperations.GetAsync(String, String, CancellationToken) Method

Definition

Returns information about an Azure SQL Database Server.

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

Parameters

resourceGroupName
String

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

serverName
String

The name of the server to retrieve.

cancellationToken
CancellationToken

Cancellation token.

Returns

Represents the response to a Get Azure Sql Database Server request.

Applies to