Partager via


AzureContextAdapterExtensions.GetStorageContext(IStorageService) Method

Definition

Get a storage context client for the storage account represented by this service

public static Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext GetStorageContext (this Microsoft.WindowsAzure.Commands.Common.Storage.IStorageService service);
static member GetStorageContext : Microsoft.WindowsAzure.Commands.Common.Storage.IStorageService -> Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
<Extension()>
Public Function GetStorageContext (service As IStorageService) As IStorageContext

Parameters

service
IStorageService

The storage service

Returns

A CloudStorageAccount client for storage data plane tasks

Applies to