AzureContextExtensions.SetCurrentStorageAccount 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.
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
- account
- IStorageContextProvider
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