The DistributorLogin property specifies the login name used when connecting to the Distributor.
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. |
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.
String
Read/write
HRESULT get_DistributorLogin(BSTR *pVal);
HRESULT put_DistributorLogin(BSTR newVal);