2013-06-21 31 views

回答

2

號,與事務複製,無法複製用戶和角色從源到目標。 Publish Data and Database Objects中列出了可以使用事務複製進行發佈的數據庫對象列表。

您需要將用戶和角色從源代碼部署使用前或後快照腳本到目標數據庫。有關前和後快照腳本的信息,請參閱:

Execute Scripts Before and After the Snapshot is Applied

Execute Scripts Before and After the Snapshot is Applied (SQL Server Management Studio)

Configure Snapshot Properties (Replication Transact-SQL Programming)