StorageAccountOperationsExtensions.CheckNameAvailabilityAsync Method (IStorageAccountOperations, String)
Asynchronously checks for the availability of the specified storage account name.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
public static Task<CheckNameAvailabilityResponse> CheckNameAvailabilityAsync( this IStorageAccountOperations operations, string accountName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations
The IStorageAccountOperations object that specifies the storage account operations.
- serviceName
The name of the storage account that you would like to use.
Return Value
Type: System.Threading.Tasks.Task<CheckNameAvailabilityResponse>The CheckNameAvailabilityResponse object that indicates whether the name is available.
For more information about checking name availability, see Check Storage Account Name Availability.
Show: