Share via


AzureStorageFileCmdletBase.GetStorageContextFromTrack1FileServiceClient Method

Definition

public static Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext GetStorageContextFromTrack1FileServiceClient (Microsoft.Azure.Storage.File.CloudFileClient fileServiceClient, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext DefaultContext = default);
public static Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext GetStorageContextFromTrack1FileServiceClient (Microsoft.Azure.Storage.File.CloudFileClient fileServiceClient, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext DefaultContext = default);
static member GetStorageContextFromTrack1FileServiceClient : Microsoft.Azure.Storage.File.CloudFileClient * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
static member GetStorageContextFromTrack1FileServiceClient : Microsoft.Azure.Storage.File.CloudFileClient * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext
Public Shared Function GetStorageContextFromTrack1FileServiceClient (fileServiceClient As CloudFileClient, Optional DefaultContext As IAzureContext = Nothing) As AzureStorageContext

Parameters

fileServiceClient
CloudFileClient
DefaultContext
IAzureContext

Returns

Applies to