Distributor Property (Replication)
The Distributor property specifies the Microsoft® SQL Server™ replication Distributor.
SQL Server CE Replication object
object.Distributor [= value]
|object||SQL Server CE Replication object|
|value||Name of the Distributor used by the Publisher|
HRESULT get_Distributor(BSTR *pVal); HRESULT put_Distributor(BSTR newVal);
The Distributor is the computer running the instance of SQL Server on which the snapshots are stored and on which replication history and statistics are logged.
If the DistributorNetwork and DistributorAddress properties are specified, they are used instead of Distributor when connecting to the Distributor.
Distributor is optional. If none of the Distributor connection properties are specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and Publisher connection properties are used when connecting to the Distributor. However, if you set any of the Distributor properties, you must set all of the required Distributor properties.