StorageAccountOperationsExtensions.CheckNameAvailability Method
Checks for the availability of the specified storage account name.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Usage
'Usage
Dim operations As IStorageAccountOperations
Dim accountName As String
Dim returnValue As CheckNameAvailabilityResponse
returnValue = StorageAccountOperationsExtensions.CheckNameAvailability(operations, accountName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CheckNameAvailability ( _
operations As IStorageAccountOperations, _
accountName As String _
) As CheckNameAvailabilityResponse
[ExtensionAttribute]
public static CheckNameAvailabilityResponse CheckNameAvailability (
IStorageAccountOperations operations,
string accountName
)
[ExtensionAttribute]
public:
static CheckNameAvailabilityResponse^ CheckNameAvailability (
IStorageAccountOperations^ operations,
String^ accountName
)
/** @attribute ExtensionAttribute() */
public static CheckNameAvailabilityResponse CheckNameAvailability (
IStorageAccountOperations operations,
String accountName
)
ExtensionAttribute
public static function CheckNameAvailability (
operations : IStorageAccountOperations,
accountName : String
) : CheckNameAvailabilityResponse
Parameters
- operations
The IStorageAccountOperations object that specifies the storage account operations.
- serviceName
The name of the storage account that you would like to use.
Return Value
The CheckNameAvailabilityResponse object that indicates whether the name is available.
Remarks
For more information about checking name availability, see Check Storage Account Name Availability.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
StorageAccountOperationsExtensions Class
StorageAccountOperationsExtensions Members
Microsoft.WindowsAzure.Management.Storage Namespace