Elastacloud.AzureManagement.Fluent.Clients.BlobClient.GetAccountKey C# (CSharp) 메소드

GetAccountKey() 공개 메소드

Gets the blob account key
public GetAccountKey ( ) : string
리턴 string
        public string GetAccountKey()
        {
            var getStorageAccountKeysCommand = new GetStorageAccountKeysCommand(AccountName)
            {
                SubscriptionId = SubscriptionId,
                Certificate = ManagementCertificate
            };
            getStorageAccountKeysCommand.Execute();
            return (AccountKey = getStorageAccountKeysCommand.PrimaryStorageKey);
        }