The PublisherLogin property sets or returns the login name used when connecting to the Publisher.
语法
object.PublisherLogin [= value]
| Part | Description |
|---|---|
object |
Expression that evaluates to an object in the Applies To list. |
value |
User name used to log in to the Publisher. |
Applies To
SQLDistribution Object (Replication ActiveX)
SQLMerge Object (Replication ActiveX)
备注
This is a required property if PublisherSecurityMode Property (Replication ActiveX) is set to DB_AUTHENTICATION.
This property is ignored if PublisherSecurityMode Property (Replication ActiveX) is set to NT_AUTHENTICATION.
Data Type
String
Modifiable
Read/write
Prototype C/C++
HRESULT get_PublisherLogin(BSTR *pVal);
HRESULT put_PublisherLogin(BSTR newVal);
请参阅
参考
PublisherPassword Property (Replication ActiveX)