MergeSynchronizationAgent.DistributorAddress プロパティ

定義

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

プロパティ値

ディストリビューター住所を表す String 値。

実装

注釈

この性質は、 DistributorNetwork の性質が DefaultNetwork以外の値に設定されている場合のみ必要となります。

このプロパティは、SQL Server 構成マネージャーを使わずにDistributorに接続するようマージ エージェントを設定する際に有用です。

例えば、ディストリビューターがインターネット経由でアクセスされている場合、 DistributorNetworkTcpIPSockets に設定し、 DistributorAddress を特定のIPアドレスに設定できます。

DistributorNetworkプロパティがTcpIPSocketsであるか、MultiprotocolTCP/IPを使用している場合、値は「IPアドレス、ソケット」(例:「111.11.11.11,1433」)の形で表されます。

Distributor接続プロパティが指定されていない場合、tはPublisherとDistributorがSQL Serverの同一インスタンスであり、Distributorに接続時にPublisher接続プロパティが使用されると仮定します。

適用対象