/// <summary> /// Deletes the scan associated with the data source /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='dataSourceName'> /// </param> /// <param name='scanName'> /// </param> public static void Delete(this IScans operations, string dataSourceName, string scanName) { operations.DeleteAsync(dataSourceName, scanName).GetAwaiter().GetResult(); }