TransArticle.UpdateCommand 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接收或設定用來複製更新的指令。
public:
property System::String ^ UpdateCommand { System::String ^ get(); void set(System::String ^ value); };
public string UpdateCommand { get; set; }
member this.UpdateCommand : string with get, set
Public Property UpdateCommand As String
屬性值
一個 String 指定插入指令的值。
備註
屬性的UpdateCommand格式與內容必須符合參數 sp_addarticle 的規定@upd_cmd。
更改 UpdateCommand 現有文章的屬性需要重新初始化訂閱並產生新的快照。
UpdateCommand該屬性僅能由 sysadmin Publisher 固定伺服器角色成員、db_owner出版資料庫固定資料庫角色成員,以及出版存取清單(PAL)成員的使用者取得。
UpdateCommand該屬性只能由 Publisher 固定伺服器角色的成員sysadmin設定。 也可以由出版資料庫中固定 db_owner 資料庫角色的成員設定。
取回 UpdateCommand 等同於執行 sp_helparticle。
設定 UpdateCommand 等同於執行 sp_addarticle 或 sp_changearticle。