Publisher Property

Replication Programming

Replication Programming

Publisher Property

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

Applies To

AlternateSyncPartner Object

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.Publisher [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Publisher name.
Remarks

If the PublisherNetwork and PublisherAddress properties are specified, they will be used instead of the Publisher property when connecting to the Publisher; otherwise, Publisher is a required property.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_Publisher(BSTR *pVal);

HRESULT put_Publisher(BSTR newVal);

See Also

Publication Property

PublisherDatabase Property