C# 클래스 Microsoft.WindowsAzure.Commands.Utilities.Common.AzureContextExtensions

파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
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