語言

TransArticle.DeleteCommand 屬性

定義

取得或設定用來複製刪除的指令。

public:
 property System::String ^ DeleteCommand { System::String ^ get(); void set(System::String ^ value); };
public string DeleteCommand { get; set; }
member this.DeleteCommand : string with get, set
Public Property DeleteCommand As String

屬性值

一個 String 指定刪除指令的值。

備註

屬性的DeleteCommand格式與內容必須符合參數 sp_addarticle 的規定@del_cmd

更改 DeleteCommand 現有文章的屬性需要重新初始化訂閱並產生新的快照。

DeleteCommand該屬性僅能由 sysadmin Publisher 固定伺服器角色成員、db_owner出版資料庫固定資料庫角色成員,以及出版存取清單(PAL)成員的使用者取得。

DeleteCommand該屬性只能由 Publisher 固定伺服器角色的成員sysadmin設定。 也可以由出版資料庫中固定 db_owner 資料庫角色的成員設定。

取回 DeleteCommand 等同於執行 sp_helparticle

設定 DeleteCommand 等同於執行 sp_addarticlesp_changearticle

適用於