ReplicationServer.DistributionServer 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目前連接的 SQL Server 實例的分發器名稱。
public:
property System::String ^ DistributionServer { System::String ^ get(); void set(System::String ^ value); };
public string DistributionServer { get; set; }
member this.DistributionServer : string with get, set
Public Property DistributionServer As String
屬性值
一個String指定 SQL Server 實例(即 Distributor)的值。
例外狀況
當字串為空、格式錯誤或超過 128 位元組時。
備註
此 DistributionServer 性質等同於 sp_get_distributor (Transact-SQL) 儲存程序。
DistributionServer該屬性可由公開固定資料庫角色檢索。
這個 DistributionServer 屬性只能由系統管理員固定伺服器角色設定。