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