MergeSynchronizationAgent.PublisherAddress 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定属性时,获取或设置用于连接PublisherPublisherNetwork的网络地址。
public:
virtual property System::String ^ PublisherAddress { System::String ^ get(); void set(System::String ^ value); };
public virtual string PublisherAddress { get; set; }
member this.PublisherAddress : string with get, set
Public Overridable Property PublisherAddress As String
属性值
一个String代表Publisher地址的值。
实现
注解
只有当该 PublisherNetwork 属性被设置为非 DefaultNetwork的值时才需要该性质。
该属性在配置控件以连接Publisher而无需使用SQL Server 配置管理器时非常有用。
例如,如果Publisher是通过互联网访问的,PublisherNetwork可以设置为TcpIPSockets和PublisherAddress可以设置为特定的IP地址。
如果属性 PublisherNetwork 是 TcpIPSockets 或 Multiprotocol 通过TCP/IP使用,则该值以“IP地址、套接字”的形式出现(例如“111.11.11.11,1433”)。