Replication Programming

DistributorLogin Property

The DistributorLogin property specifies the login name used when connecting to the Distributor.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.DistributorLogin [= name]

Part Description
object Expression that evaluates to an object in the Applies To list.
name Name used to log in to the Distributor.

Remarks

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

If the Distributor connection properties are not specified, it is assumed that the Publisher and Distributor are the same instance of Microsoft® SQL Server™, and that the Publisher connection properties are used when connecting to the Distributor.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_DistributorLogin(BSTR *pVal);

HRESULT put_DistributorLogin(BSTR newVal);

See Also

DistributorPassword Property

DistributorSecurityMode Property