다음을 통해 공유


SqlExtensions.GetSqlTimeZones(SubscriptionResource, AzureLocation) Method

Definition

Gets a collection of SqlTimeZoneResources in the SubscriptionResource. MockingTo mock this method, please mock GetSqlTimeZones(AzureLocation) instead.

public static Azure.ResourceManager.Sql.SqlTimeZoneCollection GetSqlTimeZones (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName);
static member GetSqlTimeZones : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.SqlTimeZoneCollection
<Extension()>
Public Function GetSqlTimeZones (subscriptionResource As SubscriptionResource, locationName As AzureLocation) As SqlTimeZoneCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

locationName
AzureLocation

The AzureLocation to use.

Returns

An object representing collection of SqlTimeZoneResources and their operations over a SqlTimeZoneResource.

Exceptions

subscriptionResource is null.

Applies to