Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet.NewAzureStorageContext.GetStorageAccountBySasTokenFromAzureEnvironment C# (CSharp) Method

GetStorageAccountBySasTokenFromAzureEnvironment() private method

private GetStorageAccountBySasTokenFromAzureEnvironment ( string storageAccountName, string sasToken, bool useHttps, string azureEnvironmentName = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
storageAccountName string
sasToken string
useHttps bool
azureEnvironmentName string
return Microsoft.WindowsAzure.Storage.CloudStorageAccount
        internal CloudStorageAccount GetStorageAccountBySasTokenFromAzureEnvironment(string storageAccountName,
            string sasToken, bool useHttps, string azureEnvironmentName = "")
        {
            StorageCredentials credential = new StorageCredentials(sasToken);
            return GetStorageAccountWithAzureEnvironment(credential, StorageAccountName, useHttps, azureEnvironmentName);
        }