예제 #1
0
        public static void ClearTrendsManually([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "utils/trends/clear")] HttpRequest req, ILogger log)
        {
            string sqlConnectionString = Environment.GetEnvironmentVariable("SQLConnectionString");

            TrendLibrary.ClearTrends(sqlConnectionString);
            log.LogInformation($"C# ClearTrends HTTP trigger function executed at: {DateTime.Now}");
        }