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.
object.FriendlyName [= name]
| Part | Description |
|---|---|
| object | Expression that evaluates to an AlternateSyncPartner object. |
| name | Friendly name for alternate sync partner. |
An AlternateSyncPartner object defines an alternate Publisher that a subscription referenced by the SQLMerge object can use if the primary Publisher is not available.
String
Read/write
HRESULT FriendlyName(BSTR pVal);
HRESULT FriendlyName(BSTR* pVal);