DistributionDatabase.Name 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定散發資料庫的名稱。
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 replmonitor 散發資料庫上的或固定資料庫角色的成員、使用散發資料庫之發行集的發行集存取清單(PAL)中的使用者,或是在散發資料庫的MSdistributiondbs系統資料表上具有 SELECT 許可權的使用者來抓取。
Name屬性只能由散發者端之固定伺服器角色的成員來設定 sysadmin 。
抓取 Name 屬性相當於執行sp_helpdistributiondb。
設定 Name 屬性相當於執行sp_adddistributiondb。