Publisher Property (Replication ActiveX)

The Publisher property returns or sets the Publisher name where the publication resides.

語法

object.Publisher [= value]
Part Description

object

Expression that evaluates to an object in the Applies To list.

value

Publisher name.

Applies To

AlternateSyncPartner Object (Replication ActiveX)

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

備註

Publisher is a required property

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_Publisher(BSTR *pVal);
HRESULT put_Publisher(BSTR newVal);

請參閱

參考

Publication Property (Replication ActiveX)
PublisherDatabase Property (Replication ActiveX)

說明及資訊

取得 SQL Server 2005 協助