次の方法で共有


TransSynchronizationAgent.DistributorAddress プロパティ

Gets or sets the network address that is used to connect to the distributor when the DistributorNetwork property is specified.

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
Public Overridable Property DistributorAddress As String 
    Get 
    Set
'使用
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.DistributorAddress

instance.DistributorAddress = value
public virtual string DistributorAddress { get; set; }
public:
virtual property String^ DistributorAddress {
    String^ get ();
    void set (String^ value);
}
abstract DistributorAddress : string with get, set 
override DistributorAddress : string with get, set
function get DistributorAddress () : String 
function set DistributorAddress (value : String)

プロパティ値

型: System.String
The distributor address.

実装

ITransSynchronizationAgent.DistributorAddress

説明

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

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

For example, if the Distributor is accessed over the Internet, DistributorNetwork can be set to TcpIpSockets and DistributorAddress can be set to a specific IP address.

If the DistributorNetwork 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').

関連項目

参照

TransSynchronizationAgent クラス

Microsoft.SqlServer.Replication 名前空間