Share via


DistributorLogin Property (Replication)

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

Syntax

object.DistributorLogin [= value]

Parameters

  • value
    Distributor logon name

Applies To

SQL Server 2005 Compact Edition Replication object

Data Type

String

Modifiable

Read/write

Prototype

HRESULT get_DistributorLogin(BSTR *pVal);
HRESULT put_DistributorLogin(BSTR newVal);

Remarks

The DistributorLogin property is required if 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 the 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