다음을 통해 공유


MergeSynchronizationAgent.PublisherAddress Property

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 (in microsoft.sqlserver.replication.dll)

구문

‘선언
Public Overridable Property PublisherAddress As String
public virtual string PublisherAddress { get; set; }
public:
virtual property String^ PublisherAddress {
    String^ get ();
    void set (String^ newValue);
}
/** @property */
public String get_PublisherAddress ()

/** @property */
public void set_PublisherAddress (String newValue)
public function get PublisherAddress () : String

public function set PublisherAddress (newValue : 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 '111.11.11.11,1433').

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

MergeSynchronizationAgent Class
MergeSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace