Share via


PublisherDatabase Property (Replication ActiveX)

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

Syntax

object.PublisherDatabase [= value]
Part Description

object

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

value

Publication database name.

Applies To

AlternateSyncPartner Object (Replication ActiveX)

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

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

Reference

Publication Property (Replication ActiveX)
Publisher Property (Replication ActiveX)

Help and Information

Getting SQL Server 2005 Assistance