Partilhar via


DistributorPassword Property (Replication)

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

Syntax

object.DistributorPassword [= value]

Parameters

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

Applies To

SQL Server 2005 Compact Edition Replication object

Data Type

string

Modifiable

Read/write

Prototype

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

Remarks

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.

See Also

Reference

DistributorSecurityMode Property (Replication)
Replication Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance