Share via


Distributor Property (Replication)

The Distributor property specifies the Microsoft SQL Server replication Distributor.

Syntax

object.Distributor [= value]

Parameters

  • value
    Name of the Distributor used by the Publisher

Applies To

SQL Server Compact 3.5 Replication object

Data Type

String

Modifiable

Read/write

Prototype

HRESULT get_Distributor(BSTR *pVal);
HRESULT put_Distributor(BSTR newVal);

Remarks

The Distributor is the computer that is 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 one of the Distributor properties, you must set all of the required Distributor properties.

See Also

Reference

DistributorNetwork Property (Replication)
DistributorAddress Property (Replication)
Replication Object Properties

Help and Information

Getting Assistance (SQL Server Compact 3.5 Service Pack 1)