1

我的同步组已过期,当前未正确同步到成员数据库。

首先,如果可能的话,我想编写现有的定义。

如果不可能,那么我想创建一个PowerShell脚本以允许我随时删除并重新创建组。

这应该很容易,因为那里有大量文档。我正在使用这个知识资源:

https://docs.microsoft.com/bs-latn-ba/azure/sql-database/scripts/sql-database-sync-data-between-sql-databases

但我一直遇到这个错误:

Unable to find type [AzureSqlSyncGroupSchemaTableModel]

当我运行这一行时:

$newTableSchema = [AzureSqlSyncGroupSchemaTableModel]::new()

据我了解,这是命名空间的标准属性,Microsoft.Azure.Commands.Sql.DataSync.Model所以我缺少什么?

4

0 回答 0