PublisherLogin Property

Replication Programming

Replication Programming

PublisherLogin Property

The PublisherLogin property sets or returns the login name used when connecting to the Publisher.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.PublisherLogin [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value User name used to log in to the Publisher.
Remarks

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

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherLogin(BSTR *pVal);

HRESULT put_PublisherLogin(BSTR newVal);

See Also

PublisherPassword Property

PublisherSecurityMode Property