MergeSynchronizationAgent.PublisherAddress 속성

Gets or sets the network address that is used to connect to the Publisher when the PublisherNetwork property is specified.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

public virtual string PublisherAddress { get; set; }

속성 값

유형: System.String
A String value that represents the address of the Publisher.



This property is required only when the PublisherNetwork property is set to a value other than DefaultNetwork.

This property is useful when configuring the control to connect to the Publisher without having to use SQL Server Configuration Manager.

For example, if the Publisher is accessed over the Internet, PublisherNetwork can be set to TcpIpSockets and PublisherAddress can be set to a specific IP address.

If the PublisherNetwork property is TcpIpSockets or MultiProtocol by using TCP/IP, the value is in the form of 'IP address,socket' (such as ',1433').