The DistributorLogin property specifies the logon name used when connecting to the Distributor.
object.DistributorLogin [= value]
Applies To
SQL Server Compact 3.5 Replication object
- value
Distributor logon name
Data Type
String
Modifiable
Read/write
Prototype
HRESULT get_DistributorLogin(BSTR *pVal);
HRESULT put_DistributorLogin(BSTR newVal);
The DistributorLogin property is required if theDistributorSecurityMode 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.