FriendlyName Property (Replication ActiveX)

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.

ms147375.note(zh-tw,SQL.90).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)

說明及資訊

取得 SQL Server 2005 協助