SqlExtensions.GetSqlTimeZones(SubscriptionResource, AzureLocation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.