The FriendlyName property returns or sets a display name by which the association of Publisher, publication, and Distributor that makes up an alternate sync partner can be identified.
| .gif) 重要提示: | 
|---|
| The Alternate Synchronization Partners feature for merge replication has been deprecated. | 
语法
object.FriendlyName [= name]
备注
| Part | Description | 
|---|---|
| object | Expression that evaluates to an AlternateSyncPartner object. | 
| name | Friendly name for alternate sync partner. | 
Applies To
AlternateSyncPartner Object (Replication ActiveX)
备注
An AlternateSyncPartner Object (Replication ActiveX) object defines an alternate Publisher that a subscription referenced by the SQLMerge Object (Replication ActiveX) object can use if the primary Publisher is not available.
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT FriendlyName(BSTR pVal);
HRESULT FriendlyName(BSTR* pVal);
请参阅
参考
SQLMerge Object (Replication ActiveX)