語言

DistributionDatabase.Name 屬性

定義

取得或設定分發資料庫的名稱。

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

屬性值

一個 String 值。

備註

Name此屬性無法為現有的分發資料庫設定。

Name此屬性僅能由發行db_owner資料庫中 or replmonitor 固定資料庫角色的成員、使用發行資料庫的出版存取清單(PAL)中的使用者,或擁有 SELECT 權限的 MSdistributiondbs 系統資料表存取者取得。

Name該屬性只能由分配器固定伺服器角色的成員sysadmin設定。

收回 Name 財產等同於執行 sp_helpdistributiondb。

設定屬性 Name 等同於執行 sp_adddistributiondb。

適用於