TransSynchronizationAgent.DistributorAddress 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當屬性指定時,取得或設定用於連接分配器的 DistributorNetwork 網路位址。
public:
virtual property System::String ^ DistributorAddress { System::String ^ get(); void set(System::String ^ value); };
public virtual string DistributorAddress { get; set; }
member this.DistributorAddress : string with get, set
Public Overridable Property DistributorAddress As String
屬性值
經銷商地址。
實作
備註
此性質僅 DistributorNetwork 在設定為非 DefaultNetwork的值時才需要。
此特性在設定控制以連接分發器而無需使用 SQL Server 組態管理員 時非常有用。
例如,如果分發器是透過網際網路存取, DistributorNetwork 可以設定為 TcpIPSockets 和 DistributorAddress 設定為特定的 IP 位址。
若屬性 DistributorNetwork 為 TcpIPSockets 或 Multiprotocol 透過使用 TCP/IP,則該值以「IP 位址、套接字」的形式呈現(例如 '111.11.11.11,1433')。