PublisherPassword Property

Replication Programming

Replication Programming

PublisherPassword Property

The PublisherPassword property sets or returns the login password used when connecting to the Publisher.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.PublisherPassword [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Password used to connect to the Publisher.
Remarks

The default is no password.

This is a required property if PublisherSecurityMode is set to DB_AUTHENTICATION.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherPassword(BSTR *pVal);

HRESULT put_PublisherPassword (BSTR newVal);

See Also

PublisherLogin Property

PublisherSecurityMode Property