Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SubscriberPassword property specifies the login password used when connecting to the Subscriber.
![]() |
---|
When possible, prompt users to enter their credentials at run time. Avoid hard-coding or storing credentials in a file. If credentials must be persisted between runs, encrypt them using the Win32 CryptoAPI functions. For more information, see this Microsoft Web site. |
Syntax
object.SubscriberPassword [= value]
Part | Description |
---|---|
object |
Expression that evaluates to an object in the Applies To list. |
value |
Subscriber password string. |
Applies To
SQLDistribution Object (Replication ActiveX)
SQLMerge Object (Replication ActiveX)
Remarks
This property is used only when SubscriberSecurityMode 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_SubscriberPassword(BSTR *pVal);
HRESULT put_SubscriberPassword(BSTR newVal);
See Also
Reference
SubscriberLogin Property (Replication ActiveX)
SubscriberSecurityMode Property (Replication ActiveX)