The PublisherRPCPassword property determines the password used by the immediate-updating Subscriber trigger RPC when connecting to the Publisher.
| .gif) 安全说明: | 
|---|
| 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. | 
语法
object.PublisherRPCPassword [= value]
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list. | 
| value | Password string used when connecting to the Publisher. | 
Applies To
SQLDistribution Object (Replication ActiveX)
备注
This property is relevant only to immediate-updating subscriptions.
Data Type
String
Modifiable
Read/write
Prototype C/C++
HRESULT get_PublisherRPCPassword(BSTR *pVal);
HRESULT put_PublisherRPCPassword(BSTR newVal);
请参阅
参考
PublisherRPCLogin Property (Replication ActiveX)
PublisherRPCSecurityMode Property (Replication ActiveX)