PublisherDatabase Property

Replication Programming

Replication Programming

PublisherDatabase Property

The PublisherDatabase property returns or sets the name of the publication database.

Applies To

AlternateSyncPartner Object

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object

Syntax

object.PublisherDatabase [= value]

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

This is a required property. An error is raised if it is set to an empty string.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_PublisherDatabase(BSTR *pVal);

HRESULT put_PublisherDatabase(BSTR newVal);

See Also

Publication Property

Publisher Property