diff --git a/core/lib/Drupal/Core/Updater/Module.php b/core/lib/Drupal/Core/Updater/Module.php
index 7cc3f3f66e107c828597fc2170b878fa3d0abc74..80c53ad02ab2d35240174248278140a534e31968 100644
--- a/core/lib/Drupal/Core/Updater/Module.php
+++ b/core/lib/Drupal/Core/Updater/Module.php
@@ -80,8 +80,14 @@ public static function canUpdate($project_name) {
    * Returns available database schema updates once a new version is installed.
    *
    * @return array
+   *
+   * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use
+   * \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead.
+   *
+   * @see https://www.drupal.org/node/3359445
    */
   public function getSchemaUpdates() {
+    @trigger_error(__METHOD__ . "() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead. https://www.drupal.org/node/3359445", E_USER_DEPRECATED);
     require_once DRUPAL_ROOT . '/core/includes/install.inc';
     require_once DRUPAL_ROOT . '/core/includes/update.inc';