The DistributorPassword property specifies the logon password used when connecting to the Distributor.

object.DistributorPassword [= value]

Applies To

SQL Server Compact 3.5 Replication object

  • value
    Distributor password string. The default is no password.

Data Type

string

Modifiable

Read/write

Prototype

HRESULT get_DistributorPassword(BSTR *pVal);
HRESULT put_DistributorPassword(BSTR newVal);

The DistributorPassword property is used only when the DistributorSecurityMode property is set to DB_AUTHENTICATION.

If none of the Distributor connection properties are specified, it is assumed that the Publisher and Distributor are the same instance of SQL Server and that Publisher connection properties are used when connecting to the Distributor. However, if you set any one of the Distributor connection properties, you must set all of the required Distributor properties.

Reference

DistributorSecurityMode Property (Replication)

Replication Object Properties