Created
April 28, 2016 20:05
-
-
Save syron/c190638dd77b54adcfb4b9406ed88652 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string connectionString = ConfigurationManager.AppSettings["StorageConnectionString"]; | |
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString); | |
CloudTableClient tableClient = storageAccount.CreateCloudTableClient(); | |
CloudTable table = tableClient.GetTableReference("AzureFunctionsLogTable"); | |
TableQuery<DynamicTableEntity> query = new TableQuery<DynamicTableEntity>(); | |
foreach (var t in table.ExecuteQuery(query)) | |
{ | |
// do your stuff... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment