共用方式為


MergeSynchronizationAgent.Distributor Property

Definition

Gets or sets the name of the instance of Microsoft SQL Server that is acting as the Distributor for the subscription.

public:
 virtual property System::String ^ Distributor { System::String ^ get(); void set(System::String ^ value); };
public virtual string Distributor { get; set; }
member this.Distributor : string with get, set
Public Overridable Property Distributor As String

Property Value

A String value that is the name of the Distributor.

Implements

Remarks

Distributor is an optional property.

The Distributor is the instance of SQL Server on which the snapshots are stored by default, and on which replication history and statistics are logged.

If the DistributorNetwork and DistributorAddress properties are specified, these properties will be used instead of the Distributor property when connecting to the Distributor.

If Distributor connection properties are not specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and Publisher connection properties will be used when the Merge Agent connects to the Distributor.

Applies to