IStorageAccountOperations.GetAsync Method (String, CancellationToken)
Asynchronously retrieves information about a storage account.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
Task<StorageAccountGetResponse> GetAsync(
string accountName,
CancellationToken cancellationToken
)
Task<StorageAccountGetResponse^>^ GetAsync(
String^ accountName,
CancellationToken cancellationToken
)
abstract GetAsync :
accountName:string *
cancellationToken:CancellationToken -> Task<StorageAccountGetResponse>
Function GetAsync (
accountName As String,
cancellationToken As CancellationToken
) As Task(Of StorageAccountGetResponse)
Parameters
- serviceName
Name of the storage account for which information should be retrieved.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<StorageAccountGetResponse>
The T:Microsoft.WindowsAzure.Management.Storage.Models.StorageServiceGetResponse that contains the information about the storage account.
Remarks
For more information about retrieving information about a storage account, see the following resources:
See Also
IStorageAccountOperations Interface
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top