Share via


TimeZonesOperationsExtensions.GetAsync Method

Definition

Gets a managed instance time zone.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.TimeZone> GetAsync (this Microsoft.Azure.Management.Sql.ITimeZonesOperations operations, string locationName, string timeZoneId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Sql.ITimeZonesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.TimeZone>
<Extension()>
Public Function GetAsync (operations As ITimeZonesOperations, locationName As String, timeZoneId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TimeZone)

Parameters

operations
ITimeZonesOperations

The operations group for this extension method.

locationName
String
timeZoneId
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to