C# Класс Microsoft.WindowsAzure.Commands.Utilities.Common.AzureContextExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetCurrentStorageAccount ( this context ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get the current storage account.

SetCurrentStorageAccount ( this context, IStorageContextProvider account ) : void

Set the current storage account using the given connection string.

SetCurrentStorageAccount ( this context, string connectionString ) : void

Set the current storage account using the given connection string

Описание методов

GetCurrentStorageAccount() публичный статический Метод

Get the current storage account.
public static GetCurrentStorageAccount ( this context ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
context this The current context.
Результат Microsoft.WindowsAzure.Storage.CloudStorageAccount

SetCurrentStorageAccount() публичный статический Метод

Set the current storage account using the given connection string.
public static SetCurrentStorageAccount ( this context, IStorageContextProvider account ) : void
context this The current context.
account IStorageContextProvider A storage account.
Результат void

SetCurrentStorageAccount() публичный статический Метод

Set the current storage account using the given connection string
public static SetCurrentStorageAccount ( this context, string connectionString ) : void
context this The current context.
connectionString string The connection string to check.
Результат void