DistributorLogin Property (Replication ActiveX)

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

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.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Remarks

This is a required property if DistributorSecurityMode Property (Replication ActiveX) 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

Reference

DistributorPassword Property (Replication ActiveX)

Help and Information

Getting SQL Server 2005 Assistance