Udostępnij za pośrednictwem


AzureContextExtensions.SetCurrentStorageAccount Method

Definition

Overloads

SetCurrentStorageAccount(IAzureContext, IStorageContext)
SetCurrentStorageAccount(IAzureContext, IStorageContextProvider)
SetCurrentStorageAccount(IAzureContext, String)

SetCurrentStorageAccount(IAzureContext, IStorageContext)

public static void SetCurrentStorageAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext storageContext);
static member SetCurrentStorageAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext -> unit
<Extension()>
Public Sub SetCurrentStorageAccount (context As IAzureContext, storageContext As IStorageContext)

Parameters

context
IAzureContext
storageContext
IStorageContext

Applies to

SetCurrentStorageAccount(IAzureContext, IStorageContextProvider)

public static void SetCurrentStorageAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContextProvider account);
static member SetCurrentStorageAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContextProvider -> unit
<Extension()>
Public Sub SetCurrentStorageAccount (context As IAzureContext, account As IStorageContextProvider)

Parameters

context
IAzureContext

Applies to

SetCurrentStorageAccount(IAzureContext, String)

public static void SetCurrentStorageAccount (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context, string connectionString);
static member SetCurrentStorageAccount : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext * string -> unit
<Extension()>
Public Sub SetCurrentStorageAccount (context As IAzureContext, connectionString As String)

Parameters

context
IAzureContext
connectionString
String

Applies to