AzureContextAdapterExtensions.GetStorageContext(IStorageService) 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.
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